The AddUser method adds a user to the policy.
Syntax
The AddUser method has the following format:
Netegrity::PolicyMgtPolicy‑>AddUser(user [, iExcludeUser] [, iRecursiveFlag] [, iANDUserFlag])
Parameters
The AddUser method accepts the following parameters:
user (PolicyMgtUser)
Specifies the user to add.
iExcludeUser (int)
(Optional) Specifies whether to exclude a user:
iRecursiveFlag (int)
(Optional) Specifies the setting for the AllowNested flag:
iANDUserFlag (int)
(Optional) Specifies the setting for the AND flag:
1 set the AND flag
0 disables the AND flag
Return Value
The AddUser method returns one of the following values:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |