UserManagerServicesRemoveGroupRole Method
|
Removes a single Group Role
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<GroupRoleInfo[]> RemoveGroupRole(
RemoveGroupRoleInput data
)
Public Function RemoveGroupRole (
data As RemoveGroupRoleInput
) As XHRServiceResponseGeneric(Of GroupRoleInfo())
public:
virtual XHRServiceResponseGeneric<array<GroupRoleInfo^>^>^ RemoveGroupRole(
RemoveGroupRoleInput^ data
) sealed
abstract RemoveGroupRole :
data : RemoveGroupRoleInput -> XHRServiceResponseGeneric<GroupRoleInfo[]>
override RemoveGroupRole :
data : RemoveGroupRoleInput -> XHRServiceResponseGeneric<GroupRoleInfo[]>
Parameters
- data
- Type: RemoveGroupRoleInput
Object containing the Id of the Group Role to remove
Examples
Sample JSON input
{
"data": {
"roleId": "GroupRoles/65"
}
}
Return Value
Type:
XHRServiceResponseGenericGroupRoleInfoThe collection of existing Group Roles after the removal, sorted alphabetically
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": [{
"name": "Edit",
"id": "GroupRoles\/34",
"permissions": [1879681, 1879681]
}, {
"name": "Edit and Delete",
"id": "GroupRoles\/33",
"permissions": [1896069, 1896069]
}, {
"name": "Editing and Publishing",
"id": "GroupRoles\/2",
"permissions": [1879689, 1879689]
}]
}
See Also