次の方法で共有


UserName プロパティ

ユーザー名を示す値を取得します。

名前空間:  Microsoft.ReportingServices.Interfaces
アセンブリ:   Microsoft.ReportingServices.Interfaces (Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

構文

'宣言
ReadOnly Property UserName As String
    Get
'使用
Dim instance As IUserContext
Dim value As String

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

プロパティ値

型: System. . :: . .String
ユーザー名を示す値です。