Επεξεργασία

Κοινή χρήση μέσω


KerberosSecurityTokenProvider.NetworkCredential Property

Definition

Gets the identity of the KerberosRequestorSecurityToken security token.

public:
 property System::Net::NetworkCredential ^ NetworkCredential { System::Net::NetworkCredential ^ get(); };
public System.Net.NetworkCredential NetworkCredential { get; }
member this.NetworkCredential : System.Net.NetworkCredential
Public ReadOnly Property NetworkCredential As NetworkCredential

Property Value

A NetworkCredential that represents the identity of the KerberosRequestorSecurityToken.

Remarks

When the value of the NetworkCredential property is null and the GetTokenCore method is called, the current context of the calling thread (DefaultNetworkCredentials) is used as a client identity.

Applies to