Click or drag to resize

IUserManagerRole Method


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

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
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