편집

다음을 통해 공유


Principal.Name Property

Definition

Gets or sets the name of this principal.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
public string Name { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.Name : string with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the principal or null if the name attribute is not set.

Attributes

Exceptions

The application tried to set the name to null.

The underlying store does not support this property.

Applies to