Previous Topic: User Methods

Next Topic: DisableInactive Method—Sets or Retrieves Disabled-by-Inactivity Flag

DisableByAdmin Method—Sets or Retrieves Disabled-by-Administrator Flag

The DisableByAdmin method sets or retrieves the disabled-by-administrator flag which specifies whether the user account is disabled by the administrator.

Syntax

The DisableByAdmin method has the following format:

Netegrity::PolicyMgtUser‑>DisableByAdmin([disableFlag])

Parameters

The DisableByAdmin method accepts the following parameter:

disableFlag (int)

(Optional) Specifies a new value for the disabled-by-administrator flag.

Return Value

The DisableByAdmin method returns the new or existing value for the disabled-by-administrator flag:

Remarks

User accounts can be disabled for one or more of the following reasons:


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