Otter SDK Reference
Version:

TryGetCredentials(IHasCredentials obj) Method

Gets the credentials assigned to an Inedo.Otter.Extensibility.Credentials.IHasCredentials operation.

Syntax

public static ResourceCredentials TryGetCredentials(IHasCredentials obj)

Parameters

obj
Type: IHasCredentials

The object that has the credentials.