PrincipalPermissionAttribute.Role PrincipalPermissionAttribute.Role PrincipalPermissionAttribute.Role PrincipalPermissionAttribute.Role Property

Definition

Gets or sets membership in a specified security role.

public:
 property System::String ^ Role { System::String ^ get(); void set(System::String ^ value); };
public string Role { get; set; }
member this.Role : string with get, set
Public Property Role As String

Property Value

The name of a role from the underlying role-based security provider.

Remarks

The available roles will differ based on the authentication provider in use by the host. If the authentication provider is Windows NT, roles are Windows NT user groups (in the form "DomainName\GroupName"). Check the documentation of your host to determine which authentication provider it uses and what roles users can belong to.

Applies to