NegotiateAuthentication.TargetName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for