FreeSid function
Applies to: desktop apps only
The FreeSid function frees a security identifier (SID) previously allocated by using the AllocateAndInitializeSid function.
Syntax
PVOID WINAPI FreeSid( __in PSID pSid );
Parameters
- pSid [in]
-
A pointer to the SID structure to free.
Return value
If the function succeeds, the function returns NULL.
If the function fails, it returns a pointer to the SID structure represented by the pSid parameter.
Examples
For an example that uses this function, see Creating a Security Descriptor for a New Object.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012