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.6.308
Syntax IGroupRole Role(
string idOrName,
bool isName = false
)
Function Role (
idOrName As String,
Optional isName As Boolean = false
) As IGroupRole
IGroupRole^ Role(
String^ idOrName,
bool isName = false
)
abstract Role :
idOrName : string *
?isName : bool
(* Defaults:
let _isName = defaultArg isName false
*)
-> IGroupRole
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:
IGroupRoleThe
Group Role with matching
ID or
Name.
See Also