TryGetCredentials(IHasCredentials obj) Method

Gets the credentials assigned to an IHasCredentials operation.

Syntax

public static ResourceCredentials TryGetCredentials(IHasCredentials obj)

Parameters

obj
Type: IHasCredentials

The object that has the credentials.