Share via


Algemene functies voor beveiligings-id's

Opmerking

De ATL (Active Template Library) wordt nog steeds ondersteund. We voegen echter geen functies meer toe of werken de documentatie bij.

Deze functies retourneren algemene bekende SID-objecten.

Belangrijk

De functies in de volgende tabel kunnen niet worden gebruikt in toepassingen die worden uitgevoerd in Windows Runtime.

Naam Description
Sids::AccountOps Retourneert de DOMAIN_ALIAS_RID_ACCOUNT_OPS SID.
Sids::Beheerders Retourneert de DOMAIN_ALIAS_RID_ADMINS SID.
Sids::AnonymousLogon Retourneert de SECURITY_ANONYMOUS_LOGON_RID SID.
Sids::AuthenticatedUser Retourneert de SECURITY_AUTHENTICATED_USER_RID SID.
Sids::BackupOps Retourneert de DOMAIN_ALIAS_RID_BACKUP_OPS SID.
Sids::Batch Retourneert de SECURITY_BATCH_RID SID.
Sids::CreatorGroup Retourneert de SECURITY_CREATOR_GROUP_RID SID.
Sids::CreatorGroupServer Retourneert de SECURITY_CREATOR_GROUP_SERVER_RID SID.
Sids::CreatorOwner Retourneert de SECURITY_CREATOR_OWNER_RID SID.
Sids::CreatorOwnerServer Retourneert de SECURITY_CREATOR_OWNER_SERVER_RID SID.
Sids::D ialup Retourneert de SECURITY_DIALUP_RID SID.
Sids::Gasten Retourneert de DOMAIN_ALIAS_RID_GUESTS SID.
Sids::Interactive Retourneert de SECURITY_INTERACTIVE_RID SID.
Sids::Local Retourneert de SECURITY_LOCAL_RID SID.
Sids::Netwerk Retourneert de SECURITY_NETWORK_RID SID.
Sids::NetworkService Retourneert de SECURITY_NETWORK_SERVICE_RID SID.
Sids::Null Retourneert de SECURITY_NULL_RID SID.
Sids::P reW2KAccess Retourneert de DOMAIN_ALIAS_RID_PREW2KCOMPACCESS SID.
Sids::P owerUsers Retourneert de DOMAIN_ALIAS_RID_POWER_USERS SID.
Sids::P rintOps Retourneert de DOMAIN_ALIAS_RID_PRINT_OPS SID.
Sids::P roxy Retourneert de SECURITY_PROXY_RID SID.
Sids::RasServers Retourneert de DOMAIN_ALIAS_RID_RAS_SERVERS SID.
Sids::Replicator Retourneert de DOMAIN_ALIAS_RID_REPLICATOR SID.
Sids::RestrictedCode Retourneert de SECURITY_RESTRICTED_CODE_RID SID.
Sids::Self Retourneert de SECURITY_PRINCIPAL_SELF_RID SID.
Sids::ServerLogon Retourneert de SECURITY_SERVER_LOGON_RID SID.
Sids::Service Retourneert de SECURITY_SERVICE_RID SID.
Sids::Systeem Retourneert de SECURITY_LOCAL_SYSTEM_RID SID.
Sids::SystemOps Retourneert de DOMAIN_ALIAS_RID_SYSTEM_OPS SID.
Sids::TerminalServer Retourneert de SECURITY_TERMINAL_SERVER_RID SID.
Sids::Gebruikers Retourneert de DOMAIN_ALIAS_RID_USERS SID.
Sids::World Retourneert de SECURITY_WORLD_RID SID.

Requirements

Koptekst: atlsecurity.h

Sids::AccountOps

Retourneert de DOMAIN_ALIAS_RID_ACCOUNT_OPS SID.

CSid AccountOps() throw(...);

Sids::Beheerders

Retourneert de DOMAIN_ALIAS_RID_ADMINS SID.

CSid Admins() throw(...);

Sids::AnonymousLogon

Retourneert de SECURITY_ANONYMOUS_LOGON_RID SID.

CSid AnonymousLogon() throw(...);

Sids::AuthenticatedUser

Retourneert de SECURITY_AUTHENTICATED_USER_RID SID.

CSid AuthenticatedUser() throw(...);

Sids::BackupOps

Retourneert de DOMAIN_ALIAS_RID_BACKUP_OPS SID.

CSid BackupOps() throw(...);

Sids::Batch

Retourneert de SECURITY_BATCH_RID SID.

CSid Batch() throw(...);

Sids::CreatorGroup

Retourneert de SECURITY_CREATOR_GROUP_RID SID.

CSid CreatorGroup() throw(...);

Sids::CreatorGroupServer

Retourneert de SECURITY_CREATOR_GROUP_SERVER_RID SID.

CSid CreatorGroupServer() throw(...);

Sids::CreatorOwner

Retourneert de SECURITY_CREATOR_OWNER_RID SID.

CSid CreatorOwner() throw(...);

Sids::CreatorOwnerServer

Retourneert de SECURITY_CREATOR_OWNER_SERVER_RID SID.

CSid CreatorOwnerServer() throw(...);

Sids::D ialup

Retourneert de SECURITY_DIALUP_RID SID.

CSid Dialup() throw(...);

Sids::Gasten

Retourneert de DOMAIN_ALIAS_RID_GUESTS SID.

CSid Guests() throw(...);

Sids::Interactive

Retourneert de SECURITY_INTERACTIVE_RID SID.

CSid Interactive() throw(...);

Sids::Local

Retourneert de SECURITY_LOCAL_RID SID.

CSid Local() throw(...);

Sids::Netwerk

Retourneert de SECURITY_NETWORK_RID SID.

CSid Network() throw(...);

Sids::NetworkService

Retourneert de SECURITY_NETWORK_SERVICE_RID SID.

CSid NetworkService() throw(...);

Opmerkingen

Gebruik NetworkService om de NT AUTHORITY\NetworkService-gebruiker in staat te stellen een CPerfMon-beveiligingsobject te lezen. NetworkService voegt een SecurityAttribute toe aan de ATLServer-code waarmee het DLL-bestand zich kan aanmelden onder het NetworkService-account in Windows XP Home Edition, Windows XP Professional, Windows Server 2003 en hoger besturingssysteem.

Wanneer aangepaste logboektellers worden gemaakt met de CPerfMon-klasse ATLServer in de MMC Perfmon, worden de tellers mogelijk niet weergegeven wanneer ze het logboekbestand bekijken, hoewel ze correct worden weergegeven in de realtime weergave. Aangepaste prestatiemeteritems van CPerfMon hebben niet de benodigde machtigingen om te worden uitgevoerd onder de service Performance Logs and Alerts (smlogsvc.exe) op Windows XP Home Edition, Windows XP Professional, Windows Server 2003 (of hoger). Deze service wordt uitgevoerd onder het account NT AUTHORITY\NetworkService.

Sids::Null

Retourneert de SECURITY_NULL_RID SID.

CSid Null() throw(...);

Sids::P reW2KAccess

Retourneert de DOMAIN_ALIAS_RID_PREW2KCOMPACCESS SID.

CSid PreW2KAccess() throw(...);

Sids::P owerUsers

Retourneert de DOMAIN_ALIAS_RID_POWER_USERS SID.

CSid PowerUsers() throw(...);

Sids::P rintOps

Retourneert de DOMAIN_ALIAS_RID_PRINT_OPS SID.

CSid PrintOps() throw(...);

Sids::P roxy

Retourneert de SECURITY_PROXY_RID SID.

CSid Proxy() throw(...);

Sids::RasServers

Retourneert de DOMAIN_ALIAS_RID_RAS_SERVERS SID.

CSid RasServers() throw(...);

Sids::Replicator

Retourneert de DOMAIN_ALIAS_RID_REPLICATOR SID.

CSid Replicator() throw(...);

Sids::RestrictedCode

Retourneert de SECURITY_RESTRICTED_CODE_RID SID.

CSid RestrictedCode() throw(...);

Sids::Self

Retourneert de SECURITY_PRINCIPAL_SELF_RID SID.

CSid Self() throw(...);

Sids::ServerLogon

Retourneert de SECURITY_SERVER_LOGON_RID SID.

CSid ServerLogon() throw(...);

Sids::Service

Retourneert de SECURITY_SERVICE_RID SID.

CSid Service() throw(...);

Sids::Systeem

Retourneert de SECURITY_LOCAL_SYSTEM_RID SID.

CSid System() throw(...);

Sids::SystemOps

Retourneert de DOMAIN_ALIAS_RID_SYSTEM_OPS SID.

CSid SystemOps() throw(...);

Sids::TerminalServer

Retourneert de SECURITY_TERMINAL_SERVER_RID SID.

CSid TerminalServer() throw(...);

Sids::Gebruikers

Retourneert de DOMAIN_ALIAS_RID_USERS SID.

CSid Users() throw(...);

Sids::World

Retourneert de SECURITY_WORLD_RID SID.

CSid World() throw(...);

Zie ook

Functies