TryGetCredentials(IHasCredentials obj, int? environmentId, int? applicationId) Method

Gets the credentials assigned to an IHasCredentials operation.

Syntax

public static ResourceCredentials TryGetCredentials(IHasCredentials obj, int? environmentId, int? applicationId)

Parameters

obj
Type: IHasCredentials

The object that has the credentials.

environmentId
Type: int?

The environment scope of the credentials.

applicationId
Type: int?

The application scope of the credentials.