NegotiateAuthentication.TargetName Property
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
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.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: