DeriveAppContainerSidFromAppContainerName function
Gets the SID of the specified profile.
Syntax
HRESULT WINAPI DeriveAppContainerSidFromAppContainerName( _In_ PCWSTR pszAppContainerName, _Out_ PSID *ppsidAppContainerSid );
Parameters
- pszAppContainerName [in]
-
The name of the profile.
- ppsidAppContainerSid [out]
-
The SID for the profile. This buffer must be freed using the FreeSid function.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
The operation completed successfully. |
|
The pszAppContainerName parameter, or the ppsidAppContainerSid parameter is either NULL or not valid. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: