UsernameToken Class

Represents security credentials in the form of a user name and/or password.

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 Class UsernameToken
    Inherits SecurityToken
    Implements IMutableSecurityToken, IDerivableToken
public class UsernameToken : SecurityToken, IMutableSecurityToken, IDerivableToken
public ref class UsernameToken : SecurityToken, IMutableSecurityToken, IDerivableToken
public class UsernameToken extends SecurityToken implements IMutableSecurityToken, IDerivableToken
public class UsernameToken extends SecurityToken implements IMutableSecurityToken, , IDerivableToken

Remarks

A UsernameToken can be used to sign or encrypt a SOAP message.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Security.Tokens.SecurityToken
    Microsoft.Web.Services3.Security.Tokens.UsernameToken

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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 Members
Microsoft.Web.Services3.Security.Tokens Namespace