Location: Symbol Reference > Classes > TJwSecurityToken Class > TJwSecurityToken Methods > SetIntegrityLevel Method > TJwSecurityToken.SetIntegrityLevel Method (TJwIntegrityLabelType, TJwSidAttributeSet)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityToken.SetIntegrityLevel Method (TJwIntegrityLabelType, TJwSidAttributeSet)
Pascal
procedure SetIntegrityLevel(const LabelType: TJwIntegrityLabelType; const Attributes: TJwSidAttributeSet = [sidaGroupMandatory]); virtual; overload;
Parameters 
Description 
const Attributes: TJwSidAttributeSet = [sidaGroupMandatory] 
defines attributes for the Sid 
MandatorySidType 
a mandatory . Must not be nil  

SetIntegrityLevel sets the integrity level of the token using a Sid structure. SetIntegrityLevel needs InitWellKnownException from JwsclKnownSid to be called before. 

 

If the compiler directive VISTA (jwscl.inc) is not defined, an exception EJwsclVistaFeaturesDisabled is raised. This feature can only be used with activated VISTA compiler directive.

Exceptions 
Description 
will be raised if InitWellKnownException was not called 
will be raised if parameter MandatorySid is nil 
will be raised if the integrity level could not be changed 
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!