Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: Role.RemoveAllUsers

Scoped Name

APIServer.Role.RemoveAllUsers

Interface

Field Variable ...as Description
RoleSurrogate Input Input The unique identification of the role.

Description

Removes the roles from all users.

After calling this API, no users will have this role. The API can be used in a situation where the role is to be deleted (as a role can't be deleted until all assignments to users and site elements are removed).

Events

WSE0100 - Role not found

Universal events