The EnforceANDEvaluation method sets or retrieves the ANDUser/Group flag depending on the value of the iANDUserFlag.
Syntax
The EnforceANDEvaluation method has the following format:
Netegrity::PolicyMgtPolicy‑>EnforceANDEvaluation(user[, iANDUserFlag])
Parameters
The EnforceANDEvaluation method accepts the following parameters:
user (PolicyMgtUser)
Specifies the user for which to set or retrieve iANDUserFlag.
iANDUserFlag (int)
(Optional) Specifies whether to enforce AND evaluation:
1 to enforce AND evaluation
0 to remove AND evaluation
If this argument is not passed, the function returns the current value of iANDUserFlag. This flag applies to all the users added to the policy for a particular user directory.
Return Value
The EnforceANDEvaluation method returns one of the following values:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |