다음을 통해 공유


UsernameToken Constructor (XmlElement)

Initializes a new instance of the UsernameToken class with the specified XML element.

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

Usage

'Usage
Dim element As XmlElement
Dim usernameToken1 As New UsernameToken(element)

Syntax

'Declaration
Public Sub New( _
    ByVal element As XmlElement _
)
public UsernameToken(
    XmlElement element
);
public:
UsernameToken(
    XmlElement^ element
);
public UsernameToken(
    XmlElement element
);
public function UsernameToken(
     element : XmlElement
);

Parameters

Remarks

This constructor can be used when there is no password associated with a user 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

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