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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.