Partager via


KerberosClientContext Constructor (String)

Initializes a new instance of the KerberosClientContext class using the specified target principal name.

Namespace: Microsoft.Web.Services3.Security.Tokens.Kerberos
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim targetPrincipalName As String
Dim kerberosClientContext1 As New KerberosClientContext(targetPrincipalName)

Syntax

'Declaration
Public Sub New( _
    ByVal targetPrincipalName As String _
)
public KerberosClientContext(
    string targetPrincipalName
);
public:
KerberosClientContext(
    String^ targetPrincipalName
);
public KerberosClientContext(
    System.String targetPrincipalName
);
public function KerberosClientContext(
     targetPrincipalName : String
);

Parameters

  • targetPrincipalName
    The target principal name.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

KerberosClientContext Class
KerberosClientContext Members
Microsoft.Web.Services3.Security.Tokens.Kerberos Namespace