win32file.QueryUsersOnEncryptedFile

(PySID,bytes,string) = QueryUsersOnEncryptedFile(FileName)

Returns list of users for an encrypted file as tuples of (SID, certificate hash blob, display info)

Parameters

FileName : string

file to query