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.
Goncalo Borrega20 Jul 2014
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 :)