Package io.camunda.client.api.command
Interface AssignRoleToUserCommandStep1
- All Known Implementing Classes:
AssignRoleToUserCommandImpl
public interface AssignRoleToUserCommandStep1
Command to assign a role to a user.
Example usage:
camundaClient
.newAssignRoleToUserCommand()
.roleId("roleId")
.username("username")
.send();
This command is only sent via REST over HTTP, not via gRPC.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionSets the role ID.
-
Method Details
-
roleId
Sets the role ID.- Parameters:
roleId- the ID of the role- Returns:
- the next step of the builder to set the username
-