MembershipProvidersServicesDeleteUsers Method

Ingeniux CMS Web Services API

Deletes users from Integrated Membership Provider

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

public XHRServiceResponseGeneric<DeleteUsersOutput> DeleteUsers(
	string integratedUser
)

Parameters

integratedUser
Type: SystemString

Information containing users to be deleted. It is a serialized JSON string. User id as key, User's Membership Provider as value

Examples

JavaScript
"{\"user1\":\"IngeniuxMembershipProvider\",\"user2\":\"IngeniuxMembershipProvider\"}"

Return Value

Type: XHRServiceResponseGenericDeleteUsersOutput

The information on the result of users removal, in their corresponding Membership Providers.

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "removedUsers": ["test2", "test3"]
    }
}
See Also

Reference