RtlGetAppContainerSidType - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINBLUE)

// rev
NTSYSAPI
NTSTATUS
NTAPI
RtlGetAppContainerSidType(
    _In_ PSID AppContainerSid,
    _Out_ PAPPCONTAINER_SID_TYPE AppContainerSidType
    );

#endif
#endif

View code on GitHub

Determines the type of AppContainer SID.

Parameters

Notable return values

AppContainer SID types

For the list of known AppContainer SID types, their structure, and relation, see APPCONTAINER_SID_TYPE.

Remarks

If the provided SID is not an AppContainer SID, the function returns an error code in addition to setting the AppContainerSidType variable to NotAppContainerSidType (0).

Required OS version

This function was introduced in Windows 8.1 alongside the support for child AppContainers.

See also