PrincipalPermissionAttribute::Role Property
.NET Framework (current version)
Gets or sets membership in a specified security role.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::String^The name of a role from the underlying role-based security provider.
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: