Displaying the role of the Current user in WI

159 views
Skip to first unread message

sagar....@flowian.com

unread,
Nov 28, 2014, 2:17:22 AM11/28/14
to suppor...@runmyprocess.com
Hi Team,

I want to display the role of the current user in the Webinterface. I have tried "get_lanes()" freemarker but it shows all the roles of the user.

Is that possible to display the role in the current project or Organization?

I have also tried ${P_task_lane.name} but its not working.

Regards,
Sagar

Shobhit Tripathi

unread,
Nov 29, 2014, 5:58:51 AM11/29/14
to suppor...@runmyprocess.com
Hi Sagar,

You can also do this with metadata. Please follow below steps to do:

1. Go to accounts tab --> configuration --> User metadata --> add new field "role"

2. Go to accounts tab --> users --> click on specific user -> select user metadata tab --> and give hardcoded role (like developer etc.).

3. Create one field into your Web Interface and initialize it with "${P_user.extended.role}" 


Note: This method is hard coded. You have to define this at the time of assigning role's privileges.

Feel free to ask.

Best Regards,
Shobhit


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/25f3993c-178f-4ff9-9751-2d75c41cff7c%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks & Regards,
Shobhit
Fujitsu- RunMyProcess
Reply all
Reply to author
Forward
0 new messages