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:
Specifies that the operation was successful.
Specifies that the user was not logged in.
Specifies that the operation failed.
Specifies that the method timed out.
Specifies that the object was not connected.
Remarks
The Policy Server validates a session specification or session ID, as follows:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |