[This is preliminary documentation and subject to change.]
Retrieves the length of the user's security identifier (SID), in bytes. Use the return value to determine the size of the destination buffer you pass to IDiskQuotaUser::GetSid.
HRESULT GetSidLength(
LPDWORD pdwLength
);
This method returns one of the following values.
Value | Meaning |
---|---|
S_OK | Success. |
E_POINTER | The pdwLength parameter is NULL. |
DQC_E_INVALID_SID | The SID for the user is invalid. |
DQC_E_LOCK_FAILED | Failure to obtain an exclusive lock. |
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in dskquota.h.
File Systems Overview, File System Interfaces, IDiskQuotaUser