Previous Topic: GetAllRules Method—Retrieves All Rules Associated with the Policy

Next Topic: IsEnabled Method—Enables or Disables the Policy

GetAllUsers Method—Retrieves All Users Associated with the Policy

The GetAllUsers method retrieves all users associated with the policy. If a user directory is specified, only those users associated with that directory are retrieved.

Syntax

The GetAllUsers method has the following format:

Netegrity::PolicyMgtPolicy‑>GetAllUsers([userDir])

Parameters

The GetAllUsers method accepts the following parameter:

userDir (PolicyMgtUserDir)

(Optional) Specifies that only users associated with this user directory are retrieved.

Return Value

The GetAllUsers method returns one of the following values:


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