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.Name

The name identifying the current principal.

[Visual Basic]
Public Property Name As String
[C#]
public string Name {get; set;}
[C++]
public: __property String* get_Name();
public: __property void set_Name(String*);
[JScript]
public function get Name() : String;
public function set Name(String);

Property Value

A name to match against that provided by the underlying role-based security provider.

Remarks

If the authentication provider is Windows NT, name is synonymous with the user's NT login name. Check the documentation of your host to determine what authentication provider it uses and, therefore, how it determines the identity of the current principal.

See Also

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