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

API: User.RemoveAllRoles

Scoped Name

APIServer.User.RemoveAllRoles

Interface

Field Variable ...as Description
UserSurrogate Input Input The unique identification of the user.

Description

Remove all roles for the user. This means that the user will not be able to access the site.

Normally this API will be used when the user is to be deleted (as a user can't be deleted as long as he has roles assigned).

Events

WSE0030 - User not found

Universal events