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

API: User.AddRole

Scoped Name

APIServer.User.AddRole

Interface

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

Description

Assigns the role to the user.

Events

WSE0030 - User not found

WSE0100 - Role not found

WSE0121 - User and role in different sites

Universal events