UserManagerServicesRemoveGroupRole Method

Ingeniux CMS Web Services API

Removes a single Group Role

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<GroupRoleInfo[]> RemoveGroupRole(
	RemoveGroupRoleInput data
)

Parameters

data
Type: RemoveGroupRoleInput

Object containing the Id of the Group Role to remove

Examples

Sample JSON input
JavaScript
{
    "data": {
        "roleId": "GroupRoles/65"
    }
}

Return Value

Type: XHRServiceResponseGenericGroupRoleInfo

The collection of existing Group Roles after the removal, sorted alphabetically

Examples

Sample JSON return
JavaScript
{
    "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

Reference