Namespace: Microsoft.IdentityModel.Protocols.WSIdentity
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As UserNamePasswordCredential
Dim value As String

value = instance.UserName

Syntax

Visual Basic
Public ReadOnly Property UserName As String
C#
public string UserName { get; }
C++
public:
property String^ UserName {
		String^ get ();
}
J#
/** @property */
public String get_UserName ()
JScript
public function get UserName () : String

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also