Share via


PSContextInfo.UserName property

Gets or sets the name of the Project Server user.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property UserName As String
    Get
    Set
'Usage
Dim instance As PSContextInfo
Dim value As String

value = instance.UserName

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

Property value

Type: System.String
The user name.

Implements

IPSContextInfo.UserName

See also

Reference

PSContextInfo class

PSContextInfo members

Microsoft.Office.Project.Server.Library namespace