Encrypted Files and User Keys
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.