Using page designer, tabs can be hidden from specific users with the use of a Visibility expression. Similarly, actions can be disabled for or hidden from specific users with the use an expression in the Enabled field and Visible field, respectively.

Expressions use VB.NET syntax. Note that even system administrators will be affected by expressions. Denying visibility to a system administrator will prevent that user from seeing the action or tab. Also, running as a user who is denied access will not accurately reflect whether that user can see or access the tab or action. However, when that user logs in, they will not be able to see or access the tab or action.

The expression below can be used to deny visibility or access to certain, specified users.

= (not Globals.CurrentAppUserName = "DOMAIN\Example.User") andalso (not Globals.CurrentAppUserName = "DOMAIN\AnotherExample.User")

If only certain users should be able to see or access something, the following expression can be used to grant access and visibility.

= (Globals.CurrentAppUserName = "DOMAIN\Example.User" or Globals.CurrentAppUserName = "DOMAIN\AnotherExample.User" or Globals.CurrentAppUserName = "DOMAIN\ThirdExample.User")