Difference between revisions of "Primary role"
From SmartWiki
Line 1: | Line 1: | ||
{{UnderConstruction}} | {{UnderConstruction}} | ||
− | + | <nowiki>http://grants.smartsimplebk.us/s_Login.jsp?lang=1&prole=0</nowiki> | |
− | This allows for the ability to silo a user into a particular portal view when they possess multiple roles with multiple different portals (i.e. access to different UTA's and views that don't work well together and need to be mutually exclusive). | + | This allows for the ability to silo a user into a particular portal view when they possess multiple roles with multiple different portals (i.e. access to different UTA's and views that don't work well together and need to be mutually exclusive). The login page allows you to pass in a parameter for a [[roleid|role ID]]. |
+ | |||
+ | ==Returning the primary role with a variable== | ||
Use the following variable syntax to return the roleid associated with the user's primary role: | Use the following variable syntax to return the roleid associated with the user's primary role: | ||
Line 15: | Line 17: | ||
17607 - prole from content management login page | 17607 - prole from content management login page | ||
19832 - multiple roles login to the Dealer Community Center Portal. | 19832 - multiple roles login to the Dealer Community Center Portal. | ||
+ | 17112 - Add primary role to variable processor | ||
+ | --> | ||
+ | |||
+ | [[Category:Roles]] |
Revision as of 14:39, 22 August 2013
http://grants.smartsimplebk.us/s_Login.jsp?lang=1&prole=0
This allows for the ability to silo a user into a particular portal view when they possess multiple roles with multiple different portals (i.e. access to different UTA's and views that don't work well together and need to be mutually exclusive). The login page allows you to pass in a parameter for a role ID.
Returning the primary role with a variable
Use the following variable syntax to return the roleid associated with the user's primary role:
@primaryroleid@
Note: do not use the @me. syntax, i.e. @me.primaryroleid@.