Share via


UserName Property

Gets or sets the username for the token provider to validate.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public ReadOnly Property UserName As String
    Get
'Usage
Dim instance As UserNamePasswordTokenProvider
Dim value As String

value = instance.UserName
public string UserName { get; }
public:
property String^ UserName {
    String^ get ();
}
member UserName : string
function get UserName () : String

Property Value

Type: System. . :: . .String
The username for the token provider to validate.

See Also

Reference

UserNamePasswordTokenProvider Class

Microsoft.ServiceBus Namespace