How to check whether the current user has particular role using that role's sysid?

kutvaram
Tera Expert

Hi All,

In ACL, how to check whether the logged in user has particular role?

I know we can achieve it by using the method "hasRole".Example - gs.hasRole("RoleName");

But, I want to check it by comparing it with Role Sys Id.

How to do that?

Any Ideas?

Thanks & Regards,

Ram Prakash