Previous Topic: EnforceANDEvaluation Method—Sets or Retrieves the ANDUser/Group Flag

Next Topic: GetAllIPConfigs Method—Retrieves All IP Address Restriction Objects in the Policy

ExcludeUser Method—Excludes or Includes a User from the Policy

The ExcludeUser method excludes or includes a user from the policy depending on the value of iExcludeFlag.

Syntax

The ExcludeUser method has the following format:

Netegrity::PolicyMgtPolicy‑>ExcludeUser(user[, iExcludeFlag])

Parameters

The ExcludeUser method accepts the following parameters:

user (PolicyMgtUser)

Specifies the user to exclude or include.

iExcludeFlag (int)

(Optional) Specifies whether to exclude the specified user:

If this argument is not passed, the function returns the current value of iExcludeFlag.

Return Value

The ExcludeUser method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic