Intersoft.Client.UI.Navigation Namespace > UXPage Class : RequiresRole Property |
<CategoryAttribute("Authentication")> Public Property RequiresRole As String
Dim instance As UXPage Dim value As String instance.RequiresRole = value value = instance.RequiresRole
[CategoryAttribute("Authentication")] public string RequiresRole {get; set;}
[CategoryAttribute("Authentication")] public: property String^ RequiresRole { String^ get(); void set ( String^ value); }
To enable authentication against users with particular roles, set the RequiresRole property of the UXPage to the desired role in string value. This feature works in conjunction with RequiresAuthentication property, which should be set to true as well.
For more information, see Advanced Features in ClientUI Navigation Framework.
<Intersoft:UXPage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:Intersoft="http://intersoft.clientui.com/schemas" RequiresAuthentication="True" RequiresRole="Administrators" ...> </Intersoft:UXPage>
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2