Typical Use Cases
- Revoke roles of existing users
- Remove access to resources for specific users
Don't use it to
- Prevent users from accessing the system at all. Instead, use
Unauthorize Useraction to unauthorize loaded user(s) or use
Delete Userto delete loaded user(s).
|Load Users||Can be used to revoke roles to a single user or to a list of users.|
|User Registration||Can be used to revoke roles to a newly created user.|
Input Parameter Reference
|Role||Select the security role to revoke from a list with all the roles in the application. RoleId can also be used as input.||Yes||Not selected||Yes|
|Other Role Names||Freely input the role name(s) you want to revoke. Multiple roles are separated by comma. RoleId can also be used as input.||Yes||Empty string||No|
If a role is deleted, it will simply be revoked from any user that has it.
1. Revoke a User Role
The action below loads the current user using Load User action and revokes its '[Users]' role. Nothing will happen if a not assigned role is revoked. Import it into your application to see it in action.