Share via


PSContextInfo Constructor (Boolean, String, Guid, Guid, Guid, CultureInfo, CultureInfo)

Creates a PSContextInfo object that includes language and locale culture information.

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

Syntax

'Declaration
Public Sub New ( _
    isWindowsUser As Boolean, _
    userName As String, _
    userGuid As Guid, _
    trackingGuid As Guid, _
    siteGuid As Guid, _
    languageCulture As CultureInfo, _
    localeCulture As CultureInfo _
)
'Usage
Dim isWindowsUser As Boolean
Dim userName As String
Dim userGuid As Guid
Dim trackingGuid As Guid
Dim siteGuid As Guid
Dim languageCulture As CultureInfo
Dim localeCulture As CultureInfo

Dim instance As New PSContextInfo(isWindowsUser, _
    userName, userGuid, trackingGuid, _
    siteGuid, languageCulture, localeCulture)
public PSContextInfo(
    bool isWindowsUser,
    string userName,
    Guid userGuid,
    Guid trackingGuid,
    Guid siteGuid,
    CultureInfo languageCulture,
    CultureInfo localeCulture
)

Parameters

  • isWindowsUser
    Type: System.Boolean
    Specifies whether to use Windows authentication.
  • trackingGuid
    Type: System.Guid
    The GUID for tracking the queue job.
  • siteGuid
    Type: System.Guid
    The GUID of the Project Web App site.

See Also

Reference

PSContextInfo Class

PSContextInfo Members

PSContextInfo Overload

Microsoft.Office.Project.Server.Library Namespace