Sdílet prostřednictvím


KerberosToken Constructor (String, String, ImpersonationLevel)

Initializes a new instance of the KerberosToken class.

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

Usage

'Usage
Dim serviceMachineName As String
Dim domain As String
Dim level As ImpersonationLevel
Dim kerberosToken1 As New KerberosToken(serviceMachineName, domain, level)

Syntax

'Declaration
Public Sub New( _
    ByVal serviceMachineName As String, _
    ByVal domain As String, _
    ByVal level As ImpersonationLevel _
)
public KerberosToken(
    string serviceMachineName, 
    string domain, 
    ImpersonationLevel level
);
public:
KerberosToken(
    String^ serviceMachineName, 
    String^ domain, 
    ImpersonationLevel level
);
public KerberosToken(
    System.String serviceMachineName, 
    System.String domain, 
    ImpersonationLevel level
);
public function KerberosToken(
     serviceMachineName : String, 
     domain : String, 
     level : ImpersonationLevel
);

Parameters

  • serviceMachineName
    The name of the computer that hosts the Web service.
  • domain
    The domain or realm the computer that hosts the Web service is a member of.
  • level
    An ImpersonationLevel that specifies how a recipient of this security token can use the identity associated with the Principal property.

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

KerberosToken Class
KerberosToken Members
Microsoft.Web.Services3.Security.Tokens Namespace