Sets or updates the role for a user in an application.

Input parameters

Authentication: WebServiceSimpleAuthentication Record type.
The authentication required to use this API. Specify a valid platform username and password, or use the AuthenticationService API to acquire a session token.

Username: Text type.
The username to set the role.

ApplicationKey: Text type.
The application unique identifier.

RoleName: Text type.
The role identifier to be set to the user.

Output parameters

Success: Boolean type.
True if the method was successful, False otherwise.

Status: APIStatus Record type.
The status of invoking this API action. In case of error, contains the error code and human-readable error messages.

See Also

Overview of LifeTime Services API | Authentication_GetToken Action