Difference between revisions of "Determining the roleid"

From SmartWiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
When using [[Advanced Logic]] or [[Visibility Condition]], you may wish to restrict based on the roleid of the current user..
+
When using [[Advanced Logic]] or [[Visibility Condition]], you may wish to restrict based on the roleid of the current [[User|user]].
  
 
The syntax of the conditional statements refers to the ''roleid'', which is the system's numerical value associated with each [[Role]].  
 
The syntax of the conditional statements refers to the ''roleid'', which is the system's numerical value associated with each [[Role]].  
Line 5: Line 5:
  
 
In order to determine the ''roleid'':
 
In order to determine the ''roleid'':
 +
 +
The roleids are visible as the rightmost column under Roles & Permissions > User Roles:
 +
 +
[[Image:RoleIDLocation.png]]
 +
 +
Alternately:
 
* Open the profile page for a contact/user that has the relevant [[Role]].
 
* Open the profile page for a contact/user that has the relevant [[Role]].
 
* Right-click on the link for the relevant role and select '''Properties''':
 
* Right-click on the link for the relevant role and select '''Properties''':
Line 16: Line 22:
 
'''Internet Explorer:'''
 
'''Internet Explorer:'''
 
:[[Image:RIIE.png]]
 
:[[Image:RIIE.png]]
 
 
  
 
==See Also==
 
==See Also==
* [[Visibility Condition]]
+
{{DeterminingIDs}}
* [[Advanced Logic]]
 
* [[Determining the statusid]]
 
* [[Determining the typeid]]
 

Latest revision as of 13:04, 23 September 2013

When using Advanced Logic or Visibility Condition, you may wish to restrict based on the roleid of the current user.

The syntax of the conditional statements refers to the roleid, which is the system's numerical value associated with each Role.


In order to determine the roleid:

The roleids are visible as the rightmost column under Roles & Permissions > User Roles:

RoleIDLocation.png

Alternately:

  • Open the profile page for a contact/user that has the relevant Role.
  • Right-click on the link for the relevant role and select Properties:
RoleLink.png
  • At the end of the address displayed it will list the roleid for that Role:

Firefox:

RIFF.png
  • you may have to click into the address and hit the End button on your keyboard to see the roleid portion of the address.

Internet Explorer:

RIIE.png

See Also