Redigera

Dela via


NegotiateAuthentication.TargetName Property

Definition

Gets the target name (service principal name) of the server.

public:
 property System::String ^ TargetName { System::String ^ get(); };
public string? TargetName { get; }
member this.TargetName : string
Public ReadOnly Property TargetName As String

Property Value

Remarks

For the server side of the authentication, the property returns the target name specified by the client after successful authentication (see IsAuthenticated).

For the client side of the authentication, the property returns the target name specified in TargetName.

Applies to