NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrincipalPermissionAttribute.Role

Specifies membership in a given security role.

[Visual Basic]
Public Property Role As String
[C#]
public string Role {get; set;}
[C++]
public: __property String* get_Role();
public: __property void set_Role(String*);
[JScript]
public function get Role() : String;
public function set Role(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 become synonymous with NT user groups. Check the documentation of your host to determine what authentication provider it uses and, therefore, what roles users may belong to.

See Also

PrincipalPermissionAttribute Class | PrincipalPermissionAttribute Members | System.Security.Permissions Namespace