Hi guys,
From this post Disable record's creation
I know I can do app.user.get('roles') to get the roles of a user, but it returns the roles names, rather than the ids, which is unfortunate.
Anybody knows how we can get the ids? Thanks!
You got solution for this? Please share.
I do have same requirement. I want current user's role ids. By using that, I want to get Roles information like role_name, description etc.
I am working on SugarCRM Enterprise, Version 9.0.2 (Build 191) (Spring '19)
I want role description. So, if I get role_id, then I can fetch role information using id.
You got solution for this? Please share.
I do have same requirement. I want current user's role ids. By using that, I want to get Roles information like role_name, description etc.
I am working on SugarCRM Enterprise, Version 9.0.2 (Build 191) (Spring '19)
I want role description. So, if I get role_id, then I can fetch role information using id.
Viktor Novikov can you help with this?