PSContextInfo constructor (Boolean, String, Guid, Guid, Guid, Int32, String)
NOTE: This API is now 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.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
<ObsoleteAttribute("This constructor exists for Project Server 2007 backward-compatibility.")> _
Public Sub New ( _
isWindowsUser As Boolean, _
userName As String, _
userGuid As Guid, _
trackingGuid As Guid, _
siteGuid As Guid, _
urlZone As Integer, _
lcid As String _
)
'Usage
Dim isWindowsUser As Boolean
Dim userName As String
Dim userGuid As Guid
Dim trackingGuid As Guid
Dim siteGuid As Guid
Dim urlZone As Integer
Dim lcid As String
Dim instance As New PSContextInfo(isWindowsUser, _
userName, userGuid, trackingGuid, _
siteGuid, urlZone, lcid)
[ObsoleteAttribute("This constructor exists for Project Server 2007 backward-compatibility.")]
public PSContextInfo(
bool isWindowsUser,
string userName,
Guid userGuid,
Guid trackingGuid,
Guid siteGuid,
int urlZone,
string lcid
)
Parameters
isWindowsUser
Type: System.BooleanSpecifies whether to use Windows authentication.
userName
Type: System.StringThe user name.
userGuid
Type: System.GuidThe GUID of the user.
trackingGuid
Type: System.GuidThe GUID for tracking the queue job.
siteGuid
Type: System.GuidThe GUID of the Project Web App site.
urlZone
Type: System.Int32The URL zone for authentication.
lcid
Type: System.StringThe locale code ID. Use language and local culture instead.