[This is preliminary documentation and subject to change.]
Retrieves the user's security identifier (SID).
HRESULT GetSid(
LPBYTE pbSidBuffer,
DWORD cbSidBuffer
);
This method returns one of the following values.
Value | Meaning |
---|---|
S_OK | Success. |
E_POINTER | The pbSidBuffer parameter is NULL. |
DQC_E_INVALID_SID | The SID for the user is invalid. |
DQC_E_INSUFFICIENT_BUFFER | Insufficient destination buffer size. |
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