DeriveAppContainerSidFromAppContainerName function (userenv.h)
Gets the SID of the specified profile.
Syntax
USERENVAPI HRESULT DeriveAppContainerSidFromAppContainerName(
[in] PCWSTR pszAppContainerName,
[out] PSID *ppsidAppContainerSid
);
Parameters
[in] pszAppContainerName
The name of the profile.
[out] ppsidAppContainerSid
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | userenv.h |
Library | Userenv.lib |
DLL | Userenv.dll |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για