Funciones globales de identificador de seguridad
Estas funciones devuelven objetos SID comunes conocidos.
Importante
Las funciones enumeradas en la tabla siguiente no se pueden usar en las aplicaciones que se ejecutan en Windows Runtime.
Nombre | Descripción |
---|---|
Sids::AccountOps | Devuelve SID de DOMAIN_ALIAS_RID_ACCOUNT_OPS. |
Sids::Admins | Devuelve el SID de DOMAIN_ALIAS_RID_ADMINS. |
Sids::AnonymousLogon | Devuelve el SID de SECURITY_ANONYMOUS_LOGON_RID. |
Sids::AuthenticatedUser | Devuelve el SID de SECURITY_AUTHENTICATED_USER_RID. |
Sids::BackupOps | Devuelve el SID de DOMAIN_ALIAS_RID_BACKUP_OPS. |
Sids::Batch | Devuelve el SID de SECURITY_BATCH_RID. |
Sids::CreatorGroup | Devuelve el SID de SECURITY_CREATOR_GROUP_RID. |
Sids::CreatorGroupServer | Devuelve el SID de SECURITY_CREATOR_GROUP_SERVER_RID. |
Sids::CreatorOwner | Devuelve el SID de SECURITY_CREATOR_OWNER_RID. |
Sids::CreatorOwnerServer | Devuelve el SID de SECURITY_CREATOR_OWNER_SERVER_RID. |
Sids::D ialup | Devuelve el SID de SECURITY_DIALUP_RID. |
Sids::Guests | Devuelve el SID de DOMAIN_ALIAS_RID_GUESTS. |
Sids::Interactive | Devuelve el SID de SECURITY_INTERACTIVE_RID. |
Sids::Local | Devuelve el SID de SECURITY_LOCAL_RID. |
Sids::Network | Devuelve el SID de SECURITY_NETWORK_RID. |
Sids::NetworkService | Devuelve el SID de SECURITY_NETWORK_SERVICE_RID. |
Sids::Null | Devuelve el SID de SECURITY_NULL_RID. |
Sids::P reW2KAccess | Devuelve el SID de DOMAIN_ALIAS_RID_PREW2KCOMPACCESS. |
Sids::P owerUsers | Devuelve el SID de DOMAIN_ALIAS_RID_POWER_USERS. |
Sids::P rintOps | Devuelve el SID de DOMAIN_ALIAS_RID_PRINT_OPS. |
Sids::P roxy | Devuelve el SID de SECURITY_PROXY_RID. |
Sids::RasServers | Devuelve el SID de DOMAIN_ALIAS_RID_RAS_SERVERS. |
Sids::Replicator | Devuelve el SID de DOMAIN_ALIAS_RID_REPLICATOR. |
Sids::RestrictedCode | Devuelve el SID de SECURITY_RESTRICTED_CODE_RID. |
Sids::Self | Devuelve el SID de SECURITY_PRINCIPAL_SELF_RID. |
Sids::ServerLogon | Devuelve el SID de SECURITY_SERVER_LOGON_RID. |
Sids::Service | Devuelve el SID de SECURITY_SERVICE_RID. |
Sids::System | Devuelve el SID de SECURITY_LOCAL_SYSTEM_RID. |
Sids::SystemOps | Devuelve el SID de DOMAIN_ALIAS_RID_SYSTEM_OPS. |
Sids::TerminalServer | Devuelve el SID de SECURITY_TERMINAL_SERVER_RID. |
Sids::Users | Devuelve el SID de DOMAIN_ALIAS_RID_USERS. |
Sids::World | Devuelve el SID de SECURITY_WORLD_RID. |
Requisitos
Encabezado: atlsecurity.h
Sids::AccountOps
Devuelve SID de DOMAIN_ALIAS_RID_ACCOUNT_OPS.
CSid AccountOps() throw(...);
Sids::Admins
Devuelve el SID de DOMAIN_ALIAS_RID_ADMINS.
CSid Admins() throw(...);
Sids::AnonymousLogon
Devuelve el SID de SECURITY_ANONYMOUS_LOGON_RID.
CSid AnonymousLogon() throw(...);
Sids::AuthenticatedUser
Devuelve el SID de SECURITY_AUTHENTICATED_USER_RID.
CSid AuthenticatedUser() throw(...);
Sids::BackupOps
Devuelve el SID de DOMAIN_ALIAS_RID_BACKUP_OPS.
CSid BackupOps() throw(...);
Sids::Batch
Devuelve el SID de SECURITY_BATCH_RID.
CSid Batch() throw(...);
Sids::CreatorGroup
Devuelve el SID de SECURITY_CREATOR_GROUP_RID.
CSid CreatorGroup() throw(...);
Sids::CreatorGroupServer
Devuelve el SID de SECURITY_CREATOR_GROUP_SERVER_RID.
CSid CreatorGroupServer() throw(...);
Sids::CreatorOwner
Devuelve el SID de SECURITY_CREATOR_OWNER_RID.
CSid CreatorOwner() throw(...);
Sids::CreatorOwnerServer
Devuelve el SID de SECURITY_CREATOR_OWNER_SERVER_RID.
CSid CreatorOwnerServer() throw(...);
Sids::D ialup
Devuelve el SID de SECURITY_DIALUP_RID.
CSid Dialup() throw(...);
Sids::Guests
Devuelve el SID de DOMAIN_ALIAS_RID_GUESTS.
CSid Guests() throw(...);
Sids::Interactive
Devuelve el SID de SECURITY_INTERACTIVE_RID.
CSid Interactive() throw(...);
Sids::Local
Devuelve el SID de SECURITY_LOCAL_RID.
CSid Local() throw(...);
Sids::Network
Devuelve el SID de SECURITY_NETWORK_RID.
CSid Network() throw(...);
Sids::NetworkService
Devuelve el SID de SECURITY_NETWORK_SERVICE_RID.
CSid NetworkService() throw(...);
Comentarios
Use NetworkService para permitir que el usuario NT AUTHORITY\NetworkService lea un objeto de seguridad CPerfMon. NetworkService agrega un SecurityAttribute al código ATLServer que permitirá que el archivo DLL inicie sesión en la cuenta NetworkService en Windows XP Home Edition, Windows XP Professional, Windows Server 2003 y sistemas operativos superiores.
Cuando se crean contadores de registro personalizados con la clase CPerfMon ATLServer en MMC de Perfmon, es posible que los contadores no aparezcan al ver el archivo de registro, aunque aparecerán correctamente en la vista en tiempo real. Los contadores de rendimiento personalizados de CPerfMon no tienen los permisos necesarios para ejecutarse en el servicio "Registros y alertas de rendimiento" (smlogsvc.exe) en los sistemas operativos Windows XP Home Edition, Windows XP Professional, Windows Server 2003 (o superior). Este servicio se ejecuta en la cuenta "NT AUTHORITY\NetworkService".
Sids::Null
Devuelve el SID de SECURITY_NULL_RID.
CSid Null() throw(...);
Sids::P reW2KAccess
Devuelve el SID de DOMAIN_ALIAS_RID_PREW2KCOMPACCESS.
CSid PreW2KAccess() throw(...);
Sids::P owerUsers
Devuelve el SID de DOMAIN_ALIAS_RID_POWER_USERS.
CSid PowerUsers() throw(...);
Sids::P rintOps
Devuelve el SID de DOMAIN_ALIAS_RID_PRINT_OPS.
CSid PrintOps() throw(...);
Sids::P roxy
Devuelve el SID de SECURITY_PROXY_RID.
CSid Proxy() throw(...);
Sids::RasServers
Devuelve el SID de DOMAIN_ALIAS_RID_RAS_SERVERS.
CSid RasServers() throw(...);
Sids::Replicator
Devuelve el SID de DOMAIN_ALIAS_RID_REPLICATOR.
CSid Replicator() throw(...);
Sids::RestrictedCode
Devuelve el SID de SECURITY_RESTRICTED_CODE_RID.
CSid RestrictedCode() throw(...);
Sids::Self
Devuelve el SID de SECURITY_PRINCIPAL_SELF_RID.
CSid Self() throw(...);
Sids::ServerLogon
Devuelve el SID de SECURITY_SERVER_LOGON_RID.
CSid ServerLogon() throw(...);
Sids::Service
Devuelve el SID de SECURITY_SERVICE_RID.
CSid Service() throw(...);
Sids::System
Devuelve el SID de SECURITY_LOCAL_SYSTEM_RID.
CSid System() throw(...);
Sids::SystemOps
Devuelve el SID de DOMAIN_ALIAS_RID_SYSTEM_OPS.
CSid SystemOps() throw(...);
Sids::TerminalServer
Devuelve el SID de SECURITY_TERMINAL_SERVER_RID.
CSid TerminalServer() throw(...);
Sids::Users
Devuelve el SID de DOMAIN_ALIAS_RID_USERS.
CSid Users() throw(...);
Sids::World
Devuelve el SID de SECURITY_WORLD_RID.
CSid World() throw(...);