Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
The GetLengthSid function returns the length, in bytes, of a valid security identifier (SID).
Syntax
DWORD GetLengthSid(
[in] PSID pSid
);
Parameters
[in] pSid
A pointer to the SID structure whose length is returned. The structure is assumed to be valid.
Return value
If the SID structure is valid, the return value is the length, in bytes, of the SID structure.
If the SID structure is not valid, the return value is undefined. Before calling GetLengthSid, pass the SID to the IsValidSid function to verify that the SID is valid.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | securitybaseapi.h (include Windows.h) |
| Library | Advapi32.lib |
| DLL | Advapi32.dll |