Security Identifier Global Functions

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

These functions return common well-known SID objects.

System_CAPS_ICON_important.jpg Important

The functions listed in the following table cannot be used in applications that execute in the Windows Runtime.

Sids::AccountOpsReturns the DOMAIN_ALIAS_RID_ACCOUNT_OPS SID.
Sids::AdminsReturns the DOMAIN_ALIAS_RID_ADMINS SID.
Sids::AnonymousLogonReturns the SECURITY_ANONYMOUS_LOGON_RID SID.
Sids::AuthenticatedUserReturns the SECURITY_AUTHENTICATED_USER_RID SID.
Sids::BackupOpsReturns the DOMAIN_ALIAS_RID_BACKUP_OPS SID.
Sids::BatchReturns the SECURITY_BATCH_RID SID.
Sids::CreatorGroupReturns the SECURITY_CREATOR_GROUP_RID SID.
Sids::CreatorGroupServerReturns the SECURITY_CREATOR_GROUP_SERVER_RID SID.
Sids::CreatorOwnerReturns the SECURITY_CREATOR_OWNER_RID SID.
Sids::CreatorOwnerServerReturns the SECURITY_CREATOR_OWNER_SERVER_RID SID.
Sids::DialupReturns the SECURITY_DIALUP_RID SID.
Sids::GuestsReturns the DOMAIN_ALIAS_RID_GUESTS SID.
Sids::InteractiveReturns the SECURITY_INTERACTIVE_RID SID.
Sids::LocalReturns the SECURITY_LOCAL_RID SID.
Sids::NetworkReturns the SECURITY_NETWORK_RID SID.
Sids::NetworkServiceReturns the SECURITY_NETWORK_SERVICE_RID SID.
Sids::NullReturns the SECURITY_NULL_RID SID.
Sids::PreW2KAccessReturns the DOMAIN_ALIAS_RID_PREW2KCOMPACCESS SID.
Sids::PowerUsersReturns the DOMAIN_ALIAS_RID_POWER_USERS SID.
Sids::PrintOpsReturns the DOMAIN_ALIAS_RID_PRINT_OPS SID.
Sids::ProxyReturns the SECURITY_PROXY_RID SID.
Sids::RasServersReturns the DOMAIN_ALIAS_RID_RAS_SERVERS SID.
Sids::ReplicatorReturns the DOMAIN_ALIAS_RID_REPLICATOR SID.
Sids::RestrictedCodeReturns the SECURITY_RESTRICTED_CODE_RID SID.
Sids::SelfReturns the SECURITY_PRINCIPAL_SELF_RID SID.
Sids::ServerLogonReturns the SECURITY_SERVER_LOGON_RID SID.
Sids::ServiceReturns the SECURITY_SERVICE_RID SID.
Sids::SystemReturns the SECURITY_LOCAL_SYSTEM_RID SID.
Sids::SystemOpsReturns the DOMAIN_ALIAS_RID_SYSTEM_OPS SID.
Sids::TerminalServerReturns the SECURITY_TERMINAL_SERVER_RID SID.
Sids::UsersReturns the DOMAIN_ALIAS_RID_USERS SID.
Sids::WorldReturns the SECURITY_WORLD_RID SID.

Returns the DOMAIN_ALIAS_RID_ACCOUNT_OPS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid AccountOps() throw(...);

Returns the DOMAIN_ALIAS_RID_ADMINS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Admins() throw(...);

Returns the SECURITY_ANONYMOUS_LOGON_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid AnonymousLogon() throw(...);

Returns the SECURITY_AUTHENTICATED_USER_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid AuthenticatedUser() throw(...);

Returns the DOMAIN_ALIAS_RID_BACKUP_OPS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid BackupOps() throw(...);

Returns the SECURITY_BATCH_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Batch() throw(...);

Returns the SECURITY_CREATOR_GROUP_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid CreatorGroup() throw(...);

Returns the SECURITY_CREATOR_GROUP_SERVER_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid CreatorGroupServer() throw(...);

Returns the SECURITY_CREATOR_OWNER_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid CreatorOwner() throw(...);

Returns the SECURITY_CREATOR_OWNER_SERVER_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid CreatorOwnerServer() throw(...);

Returns the SECURITY_DIALUP_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Dialup() throw(...);

Returns the DOMAIN_ALIAS_RID_GUESTS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Guests() throw(...);

Returns the SECURITY_INTERACTIVE_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Interactive() throw(...);

Returns the SECURITY_LOCAL_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Local() throw(...);

Returns the SECURITY_NETWORK_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Network() throw(...);

Returns the SECURITY_NETWORK_SERVICE_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid NetworkService() throw(...);

Remarks

Use NetworkService to enable the NT AUTHORITY\NetworkService user to read a CPerfMon security object. NetworkService adds a SecurityAttribute to the ATLServer code which will allow the DLL to login under the NetworkService account on Windows XP Home Edition, Windows XP Professional, Windows Server 2003 and greater operating system.

When custom log counters are created with ATLServer CPerfMon class in the Perfmon MMC, the counters may not appear when viewing the log file although they will appear correctly in the realtime view. CPerfMon custom performance counters don't have the necessary permissions to run under the "Performance Logs and Alerts" service (smlogsvc.exe) on Windows XP Home Edition, Windows XP Professional, Windows Server 2003 (or greater) operating systems. This service runs under the "NT AUTHORITY\NetworkService" account.

Returns the SECURITY_NULL_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Null() throw(...);

Returns the DOMAIN_ALIAS_RID_PREW2KCOMPACCESS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid PreW2KAccess() throw(...);

Returns the DOMAIN_ALIAS_RID_POWER_USERS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid PowerUsers() throw(...);

Returns the DOMAIN_ALIAS_RID_PRINT_OPS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid PrintOps() throw(...);

Returns the SECURITY_PROXY_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Proxy() throw(...);

Returns the DOMAIN_ALIAS_RID_RAS_SERVERS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid RasServers() throw(...);

Returns the DOMAIN_ALIAS_RID_REPLICATOR SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Replicator() throw(...);

Returns the SECURITY_RESTRICTED_CODE_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid RestrictedCode() throw(...);

Returns the SECURITY_PRINCIPAL_SELF_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Self() throw(...);

Returns the SECURITY_SERVER_LOGON_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid ServerLogon() throw(...);

Returns the SECURITY_SERVICE_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Service() throw(...);

Returns the SECURITY_LOCAL_SYSTEM_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid System() throw(...);

Returns the DOMAIN_ALIAS_RID_SYSTEM_OPS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid SystemOps() throw(...);

Returns the SECURITY_TERMINAL_SERVER_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid TerminalServer() throw(...);

Returns the DOMAIN_ALIAS_RID_USERS SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid Users() throw(...);

Returns the SECURITY_WORLD_RID SID.

System_CAPS_ICON_important.jpg Important

This function cannot be used in applications that execute in the Windows Runtime.

CSid World() throw(...);

Functions

Show: