setRoles abstract method

Future<List<String>?> setRoles(
  1. String? correlationId,
  2. String userId,
  3. List<String> roles
)

Sets a roles.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • userId an user id.
  • roles a roles to be set. Return (optional) Future that receives set roles or error.

Implementation

Future<List<String>?> setRoles(
    String? correlationId, String userId, List<String> roles);