Click or drag to resize

HoarderConfigSectionGetRolesForKey Method

Gets the role names that are associated with a given API Key.

Namespace: Orthogonal.Hoarder.StdLib
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.17
Syntax
C#
public Role[] GetRolesForKey(
	string key
)

Parameters

key  String
A secret key that must be revealed to authorised clietn applications by the organisation hosting the Hoarder web service.

Return Value

Role
A non-null but possibly zero-length array of role names.
See Also