UserName Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the login name of the membership user.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property UserName As String
'Usage
Dim instance As UpmMembershipUser
Dim value As String
value = instance.UserName
public override string UserName { get; }
public:
virtual property String^ UserName {
String^ get () override;
}
public override function get UserName () : String
Property Value
Type: System..::.String
The login name of the membership user.
Remarks
Returns the login name of the membership user. A membership user's UserName is used in conjunction with the membership user's password to authenticate the membership user.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.