Click to Rate and Give Feedback
MSDN
MSDN Library
Security
Authorization
About Authorization
Access Control
 SID Strings

  Switch on low bandwidth view
SID Strings

In the security descriptor definition language (SDDL), security descriptor string use SID strings for the following components of a security descriptor:

  • Owner
  • Primary group
  • The trustee in an ACE

A SID string in a security descriptor string can use either the standard string representation of a SID (S-R-I-S-S…) or one of the string constants defined in Sddl.h. For more information about the standard SID string notation, see SID Components.

The following SID string constants for well-known SIDs are defined in Sddl.h. For information about the corresponding relative IDs (RIDs), see Well-known SIDs.

SID string Constant in Sddl.h Account alias and corresponding RID
"AO"SDDL_ACCOUNT_OPERATORSAccount operators. The corresponding RID is DOMAIN_ALIAS_RID_ACCOUNT_OPS.
"RU"SDDL_ALIAS_PREW2KCOMPACCAlias to grant permissions to accounts that use applications compatible with operating systems previous to Windows 2000. The corresponding RID is DOMAIN_ALIAS_RID_PREW2KCOMPACCESS.
"AN"SDDL_ANONYMOUSAnonymous logon. The corresponding RID is SECURITY_ANONYMOUS_LOGON_RID.
"AU"SDDL_AUTHENTICATED_USERSAuthenticated users. The corresponding RID is SECURITY_AUTHENTICATED_USER_RID.
"BA"SDDL_BUILTIN_ADMINISTRATORSBuilt-in administrators. The corresponding RID is DOMAIN_ALIAS_RID_ADMINS.
"BG"SDDL_BUILTIN_GUESTSBuilt-in guests. The corresponding RID is DOMAIN_ALIAS_RID_GUESTS.
"BO"SDDL_BACKUP_OPERATORSBackup operators. The corresponding RID is DOMAIN_ALIAS_RID_BACKUP_OPS.
"BU"SDDL_BUILTIN_USERSBuilt-in users. The corresponding RID is DOMAIN_ALIAS_RID_USERS.
"CA"SDDL_CERT_SERV_ADMINISTRATORSCertificate publishers. The corresponding RID is DOMAIN_GROUP_RID_CERT_ADMINS.
"CD"SDDL_CERTSVC_DCOM_ACCESSUsers who can connect to certification authorities using Distributed Component Object Model (DCOM). The corresponding RID is DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP.
"CG"SDDL_CREATOR_GROUPCreator group. The corresponding RID is SECURITY_CREATOR_GROUP_RID.
"CO"SDDL_CREATOR_OWNERCreator owner. The corresponding RID is SECURITY_CREATOR_OWNER_RID.
"DA"SDDL_DOMAIN_ADMINISTRATORSDomain administrators. The corresponding RID is DOMAIN_GROUP_RID_ADMINS.
"DC"SDDL_DOMAIN_COMPUTERSDomain computers. The corresponding RID is DOMAIN_GROUP_RID_COMPUTERS.
"DD"SDDL_DOMAIN_DOMAIN_CONTROLLERSDomain controllers. The corresponding RID is DOMAIN_GROUP_RID_CONTROLLERS.
"DG"SDDL_DOMAIN_GUESTSDomain guests. The corresponding RID is DOMAIN_GROUP_RID_GUESTS.
"DU"SDDL_DOMAIN_USERSDomain users. The corresponding RID is DOMAIN_GROUP_RID_USERS.
"EA"SDDL_ENTERPRISE_ADMINSEnterprise administrators. The corresponding RID is DOMAIN_GROUP_RID_ENTERPRISE_ADMINS.
"ED"SDDL_ENTERPRISE_DOMAIN_CONTROLLERSEnterprise domain controllers. The corresponding RID is SECURITY_SERVER_LOGON_RID.
"RO"SDDL_ENTERPRISE_RO_DCsEnterprise Read-only domain controllers. The corresponding RID is DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS.
"WD"SDDL_EVERYONEEveryone. The corresponding RID is SECURITY_WORLD_RID.
"PA"SDDL_GROUP_POLICY_ADMINSGroup Policy administrators. The corresponding RID is DOMAIN_GROUP_RID_POLICY_ADMINS.
"IU"SDDL_INTERACTIVEInteractively logged-on user. This is a group identifier added to the token of a process when it was logged on interactively. The corresponding logon type is LOGON32_LOGON_INTERACTIVE. The corresponding RID is SECURITY_INTERACTIVE_RID.
"LA"SDDL_LOCAL_ADMINLocal administrator. The corresponding RID is DOMAIN_USER_RID_ADMIN.
"LG"SDDL_LOCAL_GUESTLocal guest. The corresponding RID is DOMAIN_USER_RID_GUEST.
"LS"SDDL_LOCAL_SERVICELocal service account. The corresponding RID is SECURITY_LOCAL_SERVICE_RID.
"SY"SDDL_LOCAL_SYSTEMLocal system. The corresponding RID is SECURITY_LOCAL_SYSTEM_RID.
"NU"SDDL_NETWORKNetwork logon user. This is a group identifier added to the token of a process when it was logged on across a network. The corresponding logon type is LOGON32_LOGON_NETWORK. The corresponding RID is SECURITY_NETWORK_RID.
"LW"SDDL_ML_LOWLow integrity level. The corresponding RID is SECURITY_MANDATORY_LOW_RID.
"ME"SDDL_MLMEDIUMMedium integrity level. The corresponding RID is SECURITY_MANDATORY_MEDIUM_RID.
"HI"SDDL_ML_HIGHHigh integrity level. The corresponding RID is SECURITY_MANDATORY_HIGH_RID.
"SI"SDDL_ML_SYSTEMSystem integrity level. The corresponding RID is SECURITY_MANDATORY_SYSTEM_RID.
"NO"SDDL_NETWORK_CONFIGURATION_OPSNetwork configuration operators. The corresponding RID is DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS.
"NS"SDDL_NETWORK_SERVICENetwork service account. The corresponding RID is SECURITY_NETWORK_SERVICE_RID.
"PO"SDDL_PRINTER_OPERATORSPrinter operators. The corresponding RID is DOMAIN_ALIAS_RID_PRINT_OPS.
"PS"SDDL_PERSONAL_SELFPrincipal self. The corresponding RID is SECURITY_PRINCIPAL_SELF_RID.
"PU"SDDL_POWER_USERSPower users. The corresponding RID is DOMAIN_ALIAS_RID_POWER_USERS.
"RS"SDDL_RAS_SERVERSRAS servers group. The corresponding RID is DOMAIN_ALIAS_RID_RAS_SERVERS.
"RD"SDDL_REMOTE_DESKTOPTerminal server users. The corresponding RID is DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS.
"RE"SDDL_REPLICATORReplicator. The corresponding RID is DOMAIN_ALIAS_RID_REPLICATOR.
"RC"SDDL_RESTRICTED_CODERestricted code. This is a restricted token created using the CreateRestrictedToken function. The corresponding RID is SECURITY_RESTRICTED_CODE_RID.
"SA"SDDL_SCHEMA_ADMINISTRATORSSchema administrators. The corresponding RID is DOMAIN_GROUP_RID_SCHEMA_ADMINS.
"SO"SDDL_SERVER_OPERATORSServer operators. The corresponding RID is DOMAIN_ALIAS_RID_SYSTEM_OPS.
"SU"SDDL_SERVICEService logon user. This is a group identifier added to the token of a process when it was logged as a service. The corresponding logon type is LOGON32_LOGON_SERVICE. The corresponding RID is SECURITY_SERVICE_RID.

 

The ConvertSidToStringSid and ConvertStringSidToSid functions always use the standard SID string notation and do not support SDDL SID string constants.

For more information about well-known SIDs, see Well-known SIDs.

Send comments about this topic to Microsoft

Build date: 6/26/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Please enable sorting table on "SID String" column.      Robert Flaming - MSFT ... Thomas Lee   |   Edit   |   Show History
Would be nice to be able to sort the table above inside the topic. Observe that "SY" is not ordered at the end of the other SID Strings starting with S. Community comments do not allow for tables or I'd add the SID String based sort.
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker