WELL_KNOWN_SID_TYPE enumeration (winnt.h)
The WELL_KNOWN_SID_TYPE enumeration is a list of commonly used security identifiers (SIDs). Programs can pass these values to the CreateWellKnownSid function to create a SID from this list.
Syntax
typedef enum {
WinNullSid,
WinWorldSid,
WinLocalSid,
WinCreatorOwnerSid,
WinCreatorGroupSid,
WinCreatorOwnerServerSid,
WinCreatorGroupServerSid,
WinNtAuthoritySid,
WinDialupSid,
WinNetworkSid,
WinBatchSid,
WinInteractiveSid,
WinServiceSid,
WinAnonymousSid,
WinProxySid,
WinEnterpriseControllersSid,
WinSelfSid,
WinAuthenticatedUserSid,
WinRestrictedCodeSid,
WinTerminalServerSid,
WinRemoteLogonIdSid,
WinLogonIdsSid,
WinLocalSystemSid,
WinLocalServiceSid,
WinNetworkServiceSid,
WinBuiltinDomainSid,
WinBuiltinAdministratorsSid,
WinBuiltinUsersSid,
WinBuiltinGuestsSid,
WinBuiltinPowerUsersSid,
WinBuiltinAccountOperatorsSid,
WinBuiltinSystemOperatorsSid,
WinBuiltinPrintOperatorsSid,
WinBuiltinBackupOperatorsSid,
WinBuiltinReplicatorSid,
WinBuiltinPreWindows2000CompatibleAccessSid,
WinBuiltinRemoteDesktopUsersSid,
WinBuiltinNetworkConfigurationOperatorsSid,
WinAccountAdministratorSid,
WinAccountGuestSid,
WinAccountKrbtgtSid,
WinAccountDomainAdminsSid,
WinAccountDomainUsersSid,
WinAccountDomainGuestsSid,
WinAccountComputersSid,
WinAccountControllersSid,
WinAccountCertAdminsSid,
WinAccountSchemaAdminsSid,
WinAccountEnterpriseAdminsSid,
WinAccountPolicyAdminsSid,
WinAccountRasAndIasServersSid,
WinNTLMAuthenticationSid,
WinDigestAuthenticationSid,
WinSChannelAuthenticationSid,
WinThisOrganizationSid,
WinOtherOrganizationSid,
WinBuiltinIncomingForestTrustBuildersSid,
WinBuiltinPerfMonitoringUsersSid,
WinBuiltinPerfLoggingUsersSid,
WinBuiltinAuthorizationAccessSid,
WinBuiltinTerminalServerLicenseServersSid,
WinBuiltinDCOMUsersSid,
WinBuiltinIUsersSid,
WinIUserSid,
WinBuiltinCryptoOperatorsSid,
WinUntrustedLabelSid,
WinLowLabelSid,
WinMediumLabelSid,
WinHighLabelSid,
WinSystemLabelSid,
WinWriteRestrictedCodeSid,
WinCreatorOwnerRightsSid,
WinCacheablePrincipalsGroupSid,
WinNonCacheablePrincipalsGroupSid,
WinEnterpriseReadonlyControllersSid,
WinAccountReadonlyControllersSid,
WinBuiltinEventLogReadersGroup,
WinNewEnterpriseReadonlyControllersSid,
WinBuiltinCertSvcDComAccessGroup,
WinMediumPlusLabelSid,
WinLocalLogonSid,
WinConsoleLogonSid,
WinThisOrganizationCertificateSid,
WinApplicationPackageAuthoritySid,
WinBuiltinAnyPackageSid,
WinCapabilityInternetClientSid,
WinCapabilityInternetClientServerSid,
WinCapabilityPrivateNetworkClientServerSid,
WinCapabilityPicturesLibrarySid,
WinCapabilityVideosLibrarySid,
WinCapabilityMusicLibrarySid,
WinCapabilityDocumentsLibrarySid,
WinCapabilitySharedUserCertificatesSid,
WinCapabilityEnterpriseAuthenticationSid,
WinCapabilityRemovableStorageSid,
WinBuiltinRDSRemoteAccessServersSid,
WinBuiltinRDSEndpointServersSid,
WinBuiltinRDSManagementServersSid,
WinUserModeDriversSid,
WinBuiltinHyperVAdminsSid,
WinAccountCloneableControllersSid,
WinBuiltinAccessControlAssistanceOperatorsSid,
WinBuiltinRemoteManagementUsersSid,
WinAuthenticationAuthorityAssertedSid,
WinAuthenticationServiceAssertedSid,
WinLocalAccountSid,
WinLocalAccountAndAdministratorSid,
WinAccountProtectedUsersSid,
WinCapabilityAppointmentsSid,
WinCapabilityContactsSid,
WinAccountDefaultSystemManagedSid,
WinBuiltinDefaultSystemManagedGroupSid,
WinBuiltinStorageReplicaAdminsSid,
WinAccountKeyAdminsSid,
WinAccountEnterpriseKeyAdminsSid,
WinAuthenticationKeyTrustSid,
WinAuthenticationKeyPropertyMFASid,
WinAuthenticationKeyPropertyAttestationSid,
WinAuthenticationFreshKeyAuthSid,
WinBuiltinDeviceOwnersSid
} WELL_KNOWN_SID_TYPE;
Constants
WinNullSidIndicates a null SID. |
WinWorldSidIndicates a SID that matches everyone. |
WinLocalSidIndicates a local SID. |
WinCreatorOwnerSidIndicates a SID that matches the owner or creator of an object. |
WinCreatorGroupSidIndicates a SID that matches the creator group of an object. |
WinCreatorOwnerServerSidIndicates a creator owner server SID. |
WinCreatorGroupServerSidIndicates a creator group server SID. |
WinNtAuthoritySidIndicates a SID for the Windows NT authority account. |
WinDialupSidIndicates a SID for a dial-up account. |
WinNetworkSidIndicates a SID for a network account. This SID is added to the process of a token when it logs on across a network. The corresponding logon type is LOGON32_LOGON_NETWORK. |
WinBatchSidIndicates a SID for a batch process. This SID is added to the process of a token when it logs on as a batch job. The corresponding logon type is LOGON32_LOGON_BATCH. |
WinInteractiveSidIndicates a SID for an interactive account. This SID is added to the process of a token when it logs on interactively. The corresponding logon type is LOGON32_LOGON_INTERACTIVE. |
WinServiceSidIndicates a SID for a service. This SID is added to the process of a token when it logs on as a service. The corresponding logon type is LOGON32_LOGON_SERVICE. |
WinAnonymousSidIndicates a SID for the anonymous account. |
WinProxySidIndicates a proxy SID. |
WinEnterpriseControllersSidIndicates a SID for an enterprise controller. |
WinSelfSidIndicates a SID for self. |
WinAuthenticatedUserSidIndicates a SID that matches any authenticated user. |
WinRestrictedCodeSidIndicates a SID for restricted code. |
WinTerminalServerSidIndicates a SID that matches a terminal server account. |
WinRemoteLogonIdSidIndicates a SID that matches remote logons. |
WinLogonIdsSidIndicates a SID that matches logon IDs. |
WinLocalSystemSidIndicates a SID that matches the local system. |
WinLocalServiceSidIndicates a SID that matches a local service. |
WinNetworkServiceSidIndicates a SID that matches a network service. |
WinBuiltinDomainSidIndicates a SID that matches the domain account. |
WinBuiltinAdministratorsSidIndicates a SID that matches the administrator group. |
WinBuiltinUsersSidIndicates a SID that matches built-in user accounts. |
WinBuiltinGuestsSidIndicates a SID that matches the guest account. |
WinBuiltinPowerUsersSidIndicates a SID that matches the power users group. |
WinBuiltinAccountOperatorsSidIndicates a SID that matches the account operators account. |
WinBuiltinSystemOperatorsSidIndicates a SID that matches the system operators group. |
WinBuiltinPrintOperatorsSidIndicates a SID that matches the print operators group. |
WinBuiltinBackupOperatorsSidIndicates a SID that matches the backup operators group. |
WinBuiltinReplicatorSidIndicates a SID that matches the replicator account. |
WinBuiltinPreWindows2000CompatibleAccessSidIndicates a SID that matches pre-Windows 2000 compatible accounts. |
WinBuiltinRemoteDesktopUsersSidIndicates a SID that matches remote desktop users. |
WinBuiltinNetworkConfigurationOperatorsSidIndicates a SID that matches the network operators group. |
WinAccountAdministratorSidIndicates a SID that matches the account administrator's account. |
WinAccountGuestSidIndicates a SID that matches the account guest group. |
WinAccountKrbtgtSidIndicates a SID that matches account Kerberos target group. |
WinAccountDomainAdminsSidIndicates a SID that matches the account domain administrator group. |
WinAccountDomainUsersSidIndicates a SID that matches the account domain users group. |
WinAccountDomainGuestsSidIndicates a SID that matches the account domain guests group. |
WinAccountComputersSidIndicates a SID that matches the account computer group. |
WinAccountControllersSidIndicates a SID that matches the account controller group. |
WinAccountCertAdminsSidIndicates a SID that matches the certificate administrators group. |
WinAccountSchemaAdminsSidIndicates a SID that matches the schema administrators group. |
WinAccountEnterpriseAdminsSidIndicates a SID that matches the enterprise administrators group. |
WinAccountPolicyAdminsSidIndicates a SID that matches the policy administrators group. |
WinAccountRasAndIasServersSidIndicates a SID that matches the RAS and IAS server account. |
WinNTLMAuthenticationSidIndicates a SID present when the Microsoft NTLM authentication package authenticated the client. |
WinDigestAuthenticationSidIndicates a SID present when the Microsoft Digest authentication package authenticated the client. |
WinSChannelAuthenticationSidIndicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client. |
WinThisOrganizationSidIndicates a SID present when the user authenticated from within the forest or across a trust that does not have the selective authentication option enabled. If this SID is present, then WinOtherOrganizationSid cannot be present. |
WinOtherOrganizationSidIndicates a SID present when the user authenticated across a forest with the selective authentication option enabled. If this SID is present, then WinThisOrganizationSid cannot be present. |
WinBuiltinIncomingForestTrustBuildersSidIndicates a SID that allows a user to create incoming forest trusts. It is added to the token of users who are a member of the Incoming Forest Trust Builders built-in group in the root domain of the forest. |
WinBuiltinPerfMonitoringUsersSidIndicates a SID that matches the performance monitor user group. |
WinBuiltinPerfLoggingUsersSidIndicates a SID that matches the performance log user group. |
WinBuiltinAuthorizationAccessSidIndicates a SID that matches the Windows Authorization Access group. |
WinBuiltinTerminalServerLicenseServersSidIndicates a SID is present in a server that can issue terminal server licenses. |
WinBuiltinDCOMUsersSidIndicates a SID that matches the distributed COM user group. |
WinBuiltinIUsersSidIndicates a SID that matches the Internet built-in user group. |
WinIUserSidIndicates a SID that matches the Internet user group. |
WinBuiltinCryptoOperatorsSidIndicates a SID that allows a user to use cryptographic operations. It is added to the token of users who are a member of the CryptoOperators built-in group. |
WinUntrustedLabelSidIndicates a SID that matches an untrusted label. |
WinLowLabelSidIndicates a SID that matches an low level of trust label. |
WinMediumLabelSidIndicates a SID that matches an medium level of trust label. |
WinHighLabelSidIndicates a SID that matches a high level of trust label. |
WinSystemLabelSidIndicates a SID that matches a system label. |
WinWriteRestrictedCodeSidIndicates a SID that matches a write restricted code group. |
WinCreatorOwnerRightsSidIndicates a SID that matches a creator and owner rights group. |
WinCacheablePrincipalsGroupSidIndicates a SID that matches a cacheable principals group. |
WinNonCacheablePrincipalsGroupSidIndicates a SID that matches a non-cacheable principals group. |
WinEnterpriseReadonlyControllersSidIndicates a SID that matches an enterprise wide read-only controllers group. |
WinAccountReadonlyControllersSidIndicates a SID that matches an account read-only controllers group. |
WinBuiltinEventLogReadersGroupIndicates a SID that matches an event log readers group. |
WinNewEnterpriseReadonlyControllersSidIndicates a SID that matches a read-only enterprise domain controller. |
WinBuiltinCertSvcDComAccessGroupIndicates a SID that matches the built-in DCOM certification services access group. |
WinMediumPlusLabelSidIndicates a SID that matches the medium plus integrity label. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinLocalLogonSidIndicates a SID that matches a local logon group. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinConsoleLogonSidIndicates a SID that matches a console logon group. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinThisOrganizationCertificateSidIndicates a SID that matches a certificate for the given organization. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinApplicationPackageAuthoritySidIndicates a SID that matches the application package authority. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinBuiltinAnyPackageSidIndicates a SID that applies to all app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityInternetClientSidIndicates a SID of Internet client capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityInternetClientServerSidIndicates a SID of Internet client and server capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityPrivateNetworkClientServerSidIndicates a SID of private network client and server capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityPicturesLibrarySidIndicates a SID for pictures library capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityVideosLibrarySidIndicates a SID for videos library capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityMusicLibrarySidIndicates a SID for music library capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityDocumentsLibrarySidIndicates a SID for documents library capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilitySharedUserCertificatesSidIndicates a SID for shared user certificates capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityEnterpriseAuthenticationSidIndicates a SID for Windows credentials capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinCapabilityRemovableStorageSidIndicates a SID for removable storage capability for app containers. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not available. |
WinBuiltinRDSRemoteAccessServersSid |
WinBuiltinRDSEndpointServersSid |
WinBuiltinRDSManagementServersSid |
WinUserModeDriversSid |
WinBuiltinHyperVAdminsSid |
WinAccountCloneableControllersSid |
WinBuiltinAccessControlAssistanceOperatorsSid |
WinBuiltinRemoteManagementUsersSid |
WinAuthenticationAuthorityAssertedSid |
WinAuthenticationServiceAssertedSid |
WinLocalAccountSid |
WinLocalAccountAndAdministratorSid |
WinAccountProtectedUsersSid |
WinCapabilityAppointmentsSid |
WinCapabilityContactsSid |
WinAccountDefaultSystemManagedSid |
WinBuiltinDefaultSystemManagedGroupSid |
WinBuiltinStorageReplicaAdminsSid |
WinAccountKeyAdminsSid |
WinAccountEnterpriseKeyAdminsSid |
WinAuthenticationKeyTrustSid |
WinAuthenticationKeyPropertyMFASid |
WinAuthenticationKeyPropertyAttestationSid |
WinAuthenticationFreshKeyAuthSid |
WinBuiltinDeviceOwnersSid |
Requirements
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | winnt.h (include Windows.h) |