Previous Topic: Name Method—Sets or Retrieves the User's Username

Next Topic: Validate Method—Validates a Session Specification

Password Method—Sets or Retrieves the User's Password

The Password method sets or retrieves the user's password.

Syntax

The Password method has the following format:

Netegrity::AgentUser‑>Password([password])

Parameters

The Password method accepts the following parameter:

password (string)

(Optional) Specifies the password to set.

Return Value

The Password method returns the following value:

Remarks

Setting the password only affects the current instance of the user object. It does not affect the user's entry in the directory.


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