Is there any way to check if a user (the originator in my case) is a member of a Role? Ideally, I'd like to do this from Studio, without having to use the API.
Thanks,
Peter
Is there any way to check if a user (the originator in my case) is a member of a Role? Ideally, I'd like to do this from Studio, without having to use the API.
Thanks,
Peter
You can check if user is a member of a k2 role by executing the Get Role Users of the UMUser smartobject. If you want to do it within a k2 process, then use inline function (Text- contains).
Can you point me to instructions on how to call this method? I haven't used SmartObjects too heavily yet.
Smartobject service tester is described at _http://jeylabsblog.com/2009/02/15/smartobject-service-tester/
Once you opened the smartobject service tester, expand smartobject explorer > all smartobjects > right-click on UMUsers. Then select the method to execute (Role to users), type in the input (role name) and click on execute.
Hi arunkaul and pwnewhook,
The method is called Get Role Users in the UMUser smo. You may exexute this from the smartobject service tester.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.