次の方法で共有


ClientFormsAuthenticationCredentials.UserName プロパティ

定義

ユーザー名を取得または設定します。

public:
 property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public string UserName { get; set; }
member this.UserName : string with get, set
Public Property UserName As String

プロパティ値

ユーザー名です。

注釈

クラスは ClientFormsAuthenticationMembershipProvider 、認証時にこのプロパティを使用してユーザー名を取得します。 通常、このプロパティはアプリケーション コードでは使用しません。 代わりに、クラス コンストラクターを使用してユーザー名を設定します。

適用対象

こちらもご覧ください