3.2.4.2.27.6 UserAccount (get) (Opnum 22)

The UserAccount (get) method returns a string representation of the user account corresponding to the well-known SID of NULL ([MS-DTYP] section 2.4.2.4).

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x05))] HRESULT UserAccount(
   [out, retval] BSTR* userAccount
 );

userAccount: Pointer to a variable that upon completion contains the string representation of the user account corresponding to the well-known 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 userAccount parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that userAccount is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set userAccount to the string representation of the user account corresponding to the well-known SID of NULL.