Previous Topic: Login Method—Performs Session Login and Validation

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

Logout Method—Logs the User out of the Session

The Logout method logs the user out of the session. Calling this method is optional, because the user is automatically logged out when the user object exceeds its scope in the Perl script.

Syntax

The Logout method has the following format:

Netegrity::AgentUser‑>Logout()

Parameters

The Logout method accepts no parameters.

Return Value

The Logout method returns one of the following values:

Remarks

Calling Logout while one user is impersonating another user ends the impersonation session and restores the impersonator's original session. Calling AgentUser‑>Impersonate allows one user to impersonate or log in as another user.


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