CredentialsServiceTryGetCredentialsTCredentials Method

TIBCO Spotfire 11.4 API Reference
Tries to get the credentials for the specified key.

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public bool TryGetCredentials<TCredentials>(
	Object key,
	out TCredentials credentials
)
where TCredentials : class

Parameters

key
Type: SystemObject
The credentials key.
credentials
Type: TCredentials
The credentials.

Type Parameters

TCredentials
The type of the credentials.

Return Value

Type: Boolean
true if credentials exist for the specified key; otherwise, false.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference