Share via


UsernameTokenProvider.Username Property

Gets or sets the user name.

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

Usage

'Usage
Dim usernameTokenProvider1 As UsernameTokenProvider

Dim returnValue As String
returnValue = usernameTokenProvider1.Username

Dim sampleValue As String
usernameTokenProvider1.Username = sampleValue

Syntax

'Declaration
Public Property Username() As String
public string Username {get; set;}
public:
property String^ Username {
    String^ get();
    void set(String^ value);
}
public System.String get_Username();
public void set_Username(System.String);
public function get Username() : String;
public function set Username(String);

Property Value

The user name.

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

UsernameTokenProvider Class
UsernameTokenProvider Members
Microsoft.Web.Services3.Design Namespace