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

API: Role.RemoveAllSiteElements

Scoped Name

APIServer.Role.RemoveAllSiteElements

Interface

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

Description

Removes the specified role from all site elements.

After calling this API, the role does not authorize any site elements. 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