Click or drag to resize

UserManagerServicesDeleteUsers Method


Deletes a collection of Users. This will automatically remove their membership from their belonging User Groups too.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<string[]> DeleteUsers(
	UniqueObjectsDeleteParam data
)

Parameters

data
Type: UniqueObjectsDeleteParam

Object containing the User Id (login name) of Users to be deleted

Examples
Sample JSON input
JavaScript
{
    "data": {
        "selectedIds": ["t", "INGENIUX%5Cabusbin"]
    }
}
Remarks

The items in "selectedIds" field are URI encoded User Ids

Return Value

Type: XHRServiceResponseGenericString

Array of User Ids of the Users that has been removed

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": ["t", "INGENIUX%5Cabusbin"]
}
Remarks

Non-existing Users will be ignored

Note that this operation will not automatically remove the integrated Users from their Membership Providers store.

The operation [!:IngeniuxCMService.M embershipProvidersServices.DeleteUsers] performs that task.

See Also