createRoleAssignment
abstract fun createRoleAssignment(assignRoleRequestOptions: AssignRoleRequestOptions, liveLikeCallback: LiveLikeCallback<RoleAssignment>)
Assign a role to a profile.Producer Access Token is required for this. Application Profile Tokens are not allowed to create this resource.
Parameters
assignRoleRequestOptions
Arguments used to assign the role.
liveLikeCallback
A callback to handle the result of assigning the role to a profile.