Location: Symbol Reference > Classes > TJwSecurityId Class > TJwSecurityId.CreateWellKnownSid Constructor
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.CreateWellKnownSid Constructor
Pascal
constructor CreateWellKnownSid(WellKnownSidType: TWellKnownSidType; DomainSid: TJwSecurityId = nil); overload;
Parameters 
Description 
WellKnownSidType: TWellKnownSidType 
contains the sid type that is to be created  
DomainSid: TJwSecurityId = nil 
contains the domain SID where the new SID is associated. It can be nil to use the local computer. The domain SID. This value is required for the following WellKnownSidType values. This parameter is ignored for any other WellKnownSidType values.
  • WinAccountAdministratorSid
  • WinAccountGuestSid
  • WinAccountKrbtgtSid
  • WinAccountDomainAdminsSid
  • WinAccountDomainUsersSid
  • WinAccountDomainGuestsSid
  • WinAccountComputersSid
  • WinAccountControllersSid
  • WinAccountCertAdminsSid
  • WinAccountSchemaAdminsSid
  • WinAccountEnterpriseAdminsSid
  • WinAccountPolicyAdminsSid
  • WinAccountRasAndIasServersSid
 

CreateWellKnownSid creates a SID instance from a known well sid type. The resulted SID will be checked by CheckSID

COM: Also available as com method. 

 

Exceptions 
Description 
will be raised if a call to CreateWellKnownSid failed 
See CheckSID for exceptions description 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!