Location: Symbol Reference > Classes > TJwSecurityId Class > Create Constructor > TJwSecurityId.Create Constructor (array of Cardinal, TSidIdentifierAuthority)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.Create Constructor (array of Cardinal, TSidIdentifierAuthority)
Pascal
constructor Create(const Authorities: array of Cardinal; Identifier: TSidIdentifierAuthority); overload;
Parameters 
Description 
const Authorities: array of Cardinal 
contains an array of authorities values copied into the authority structure of the SID. It can be an array of Cardinal values. However only the first 8 values are used.  
Identifier: TSidIdentifierAuthority 
contains a TSidIdentifierAuthority structure to be copied into the new SID instance. Authorities must contain 8 subauthority values. 

Create copies the given parameters into a newly created instance. The resulted SID will be checked by CheckSID

COM: Also available as com method. 

This constructor calls Create(const Authorities : TJwSubAuthorityArray; Identifier: TSidIdentifierAuthority);

Exceptions 
Description 
will be raised if a call to AllocateAndInitializeSid 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!