HypSetSSO

Data provider types: All providers that support Single Signon (SSO)

Description

HypSetSSO() sets the SSO token in Smart View. When set, the SSO token takes priority over user name and password.

Syntax

HypSetSSO(vtSSO)

ByVal vtSSO As Variant

Parameters

vtSSO: SSO token

Return Value

Returns 0 if successful; otherwise, returns the appropriate error code.

Example

Sub test()

SSO = <SSO token>
sts = HypDisconnectAll()
sts = HypSetSSO(SSO)
MsgBox (sts)

End Sub