Share via


PSContextInfo Members

Include Protected Members
Include Inherited Members

Contains Project Server context information for user identity, Project Web App site, and preferred culture.

The PSContextInfo type exposes the following members.

Constructors

  Name Description
Public method PSContextInfo() Creates an empty PSContextInfo object, for use with Microsoft Visual C#, version 3.0, initialization syntax.
Public method PSContextInfo(Boolean, String, Guid, Guid, Guid, String) Obsolete. This constructor exists for Microsoft Office Project Server 2007 backward compatibility. Use a constructor that enables the language and locale culture to be specified.
Public method PSContextInfo(Boolean, String, Guid, Guid, Guid, CultureInfo, CultureInfo) Creates a PSContextInfo object that includes language and locale culture information.
Public method PSContextInfo(Boolean, String, Guid, Guid, Guid, Int32, String) Obsolete. This constructor exists for Microsoft Office Project Server 2007 backward compatibility. Use a constructor that enables the language and locale culture to be specified.
Public method PSContextInfo(Boolean, String, Guid, Guid, Guid, CultureInfo, CultureInfo, Guid, String) Creates a PSContextInfo object that includes language and locale culture information, and specifies a user delegate.

Top

Properties

  Name Description
Public property DelegateGuid Gets the GUID of the user delegate, when delegation is active.
Public property DelegateName Gets the GUID of the user delegate, when delegation is active.
Public property IsWindowsUser Gets a value that indicates whether the current user is a Windows user (as opposed to a Forms user).
Public property LanguageCulture Gets the language of the Project Web App instance.
Public property LanguageCultureName The name of the language culture.
Public property Lcid Obsolete. The locale code ID. Use language and local culture instead.
Public property LocaleCulture Provides information about the locale of the Project Web App instance.
Public property LocaleCultureName The name of the locale culture.
Public property SiteGuid The GUID of the Project Web App site.
Public property SiteVersion Obsolete. The version of the Project Web App site.
Public property TrackingGuid The GUID for tracking the Project Server queue job.
Public property UrlZone Gets the URL zone for authentication.
Public property UserGuid The GUID of the Project Server user.
Public property UserName The name of the Project Server user.

Top

Methods

  Name Description
Public methodStatic member DeserializeFromString Creates a PSContextInfo object from a string.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member SerializeToString Serializes a PSContextInfo object to a string.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

PSContextInfo Class

Microsoft.Office.Project.Server.Library Namespace