ValidateTokenOnClusterSSO

Indicates whether an external authentication token is valid, and returns the validated token. You can also use ValidateTokenOnClusterSSO to obtain a token from a logged-on user’s password.

Tip:

You can use the token returned by ValidateTokenOnClusterSSO to replace an expired token.

Caution!

The user’s logon information must have been set with SetLogonInfoSSO before ValidateTokenOnClusterSSO is called.

Syntax

<HFMwManageApplications>.ValidateTokenOnClusterSSO (bstrCluster, bstrSessionPassword, pvbstrToken)

Argument

Description

bstrCluster

The name of the application server cluster to which the user is logged on.

Input argument. String subtype.

bstrSessionPassword

To obtain a token from a user’s password, pass the password; otherwise, pass a blank string.

Input argument. String subtype.

pvbstrToken

Pass the token to be validated, or a variable if you want to obtain the token from the password. If the token or password is valid, an updated token is returned.

Input/output argument.

Return Value

Indicates whether the token is valid. Returns TRUE if the token is valid, FALSE if it is invalid.