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:
Specifies that the user logged out successfully.
Specifies that user logout failed.
Specifies that a challenge is required for authentication.
Specifies that the operation failed.
Specifies that the method timed out.
Specifies that the object was not connected.
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 |