GetLoginInformation Method

Description

Gets a list of Microsoft Office Project Server 2003 database logon information.

Syntax

<Request>
   <GetLoginInformation/>
</Request>

Parameters

None.

Return Value

If successful, the PDS returns a successful HRESULT and STATUS, as well as the values for the Project Server database logon information.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
   <GetLoginInformation>
      <DBType></DBType>
      <DVR></DVR>
      <DB></DB>
      <SVR></SVR>
      <ResGlobalID></ResGlobalID>
      <ResGlobalName></ResGlobalName>
      <UserName></UserName>
      <Password></Password>
   </GetLoginInformation>
</Reply>

Remarks

The PDS checks to ensure that there is a currently logged-on user, and that the user has at least Open Codes (1006) permission. If so, the PDS gets the Microsoft SQL Server™ database connection information from the registry—including the user name and password—and includes that information in the reply.