To create a new key for a user, use the SetUserFileEncryptionKey function. To add user keys to an encrypted file, use the AddUsersToEncryptedFile function. To query the user keys for an encrypted file, use the QueryUsersOnEncryptedFile function. To remove user keys from an encrypted file, use the RemoveUsersFromEncryptedFile function.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
