Get Role ID

By Carlos Henriques on 17 Jul 2014
Roles have 3 functions:

- CheckRole
- GrantRole
- RevokeRole

It could have one more function to get the ID (RoleId) of the role.
Hi Carlos,

Just type Roles.ROLENAME and that gives you the Id of that role.
In your example, that would be Roles.eSpaceUser

Carlos Henriques22 Jul 2014
Never knew about that.

Thanks for the tip :)
Márcio Lima23 Nov 2017

This post helped me a lot. Thanks Gonçalo!