IUserManagerRole Method Ingeniux CMS Content Store API

Retrieves a Group Role by either its ID or its Name.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IGroupRole Role(
	string idOrName,
	bool isName = false
)

Parameters

idOrName
Type: SystemString
Unique ID or Name of the Group Role
isName (Optional)
Type: SystemBoolean
Whether the "idOrName" parameter value ID or Name of the Group Role

Return Value

Type: IGroupRole
The Group Role with matching ID or Name.
See Also

Reference