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

Next Topic: Agent Operations

Validate Method—Validates a Session Specification

The Validate method validates a session specification, checking that a user session has neither expired nor been terminated or revoked. This check can occur at any time during the life of a session.

Syntax

The Validate method has the following format:

Netegrity::AgentUser‑>Validate(resource[, clientIP][, transID])

Parameters

The Validate method accepts the following parameters:

resource (AgentResource object)

Specifies the resource to log in to.

clientIP (string)

(Optional) Specifies the client's IP address.

transID (string)

(Optional) Specifies a user-defined transaction ID.

Return Value

The Validate method returns one of the following values:

Remarks

The Policy Server validates a session specification or session ID, as follows:


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