IDiskQuotaUser::GetSidLength method (dskquota.h)
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.
Syntax
HRESULT GetSidLength(
[out] LPDWORD pdwLength
);
Parameters
[out] pdwLength
The SID length, in bytes.
Return value
This method returns one of the following values.
Return code | Description |
---|---|
|
Success. |
|
The pdwLength parameter is NULL. |
|
The SID for the user is invalid. |
|
Failure to obtain an exclusive lock. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | dskquota.h |
DLL | Dskquota.dll |