3.2.4.2.27.5 UserSid (get) (Opnum 21)

The UserSid (get) method returns a string representation of the read-only user SID of NULL ([MS-DTYP] section 2.4.2.4).

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x04))] HRESULT UserSid(
   [out, retval] BSTR* userSid
 );

userSid: Pointer to a variable that upon completion contains the string representation of the user SID of NULL.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The userSid parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that userSid is not NULL.

The server MUST set userSid to the string representation of the user SID of NULL or return a nonzero error code.