Location: Symbol Reference > Classes > TJwSecurityToken Class > TJwSecurityToken Properties > TJwSecurityToken.MandatoryPolicy Property
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityToken.MandatoryPolicy Property
Pascal
property MandatoryPolicy: TJwTokenMandatoryPolicies;

MandatoryPolicy returns the mandatory policy of the token. This property can have one the following values (from MSDN: http://msdn2.microsoft.com/en-us/library/bb394728.aspx): 

  • TOKEN_MANDATORY_POLICY_OFF No mandatory integrity policy is enforced for the token.
  • TOKEN_MANDATORY_POLICY_NO_WRITE_UP A process associated with the token cannot write to objects that have a greater mandatory integrity level.
  • TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN A process created with the token has an integrity level that is the lesser of the parent-process integrity level and the executable-file integrity level.
  • TOKEN_MANDATORY_POLICY_VALID_MASK A combination of TOKEN_MANDATORY_POLICY_NO_WRITE_UP and TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN
 

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.

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!