次の方法で共有


PSContextInfo.UserName プロパティ

取得または、Project Server のユーザーの名前を設定します。

名前空間:  Microsoft.Office.Project.Server.Library
アセンブリ:  Microsoft.Office.Project.Server.Library (Microsoft.Office.Project.Server.Library.dll 内)

構文

'宣言
<DataMemberAttribute> _
Public Property UserName As String
    Get
    Set
'使用
Dim instance As PSContextInfo
Dim value As String

value = instance.UserName

instance.UserName = value
[DataMemberAttribute]
public string UserName { get; set; }

プロパティ値

型: System.String
ユーザーの名前です。

実装

IPSContextInfo.UserName

関連項目

参照先

PSContextInfo クラス

PSContextInfo メンバー

Microsoft.Office.Project.Server.Library 名前空間