Difference between revisions of "Primary role"

From SmartWiki
Jump to: navigation, search
Line 3: Line 3:
 
<nowiki>http://grants.smartsimplebk.us/s_Login.jsp?lang=1&prole=0</nowiki>
 
<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). Proposal: To modify the login page to allow you to pass in a parameter for a portalid to keep you in that single view for your entire session. Perhaps in the future we could define a toggle that will allow you to update this while logged in, but this isn't necessary for now.
+
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:  

Revision as of 14:07, 22 August 2013

Template:UnderConstruction

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@.