Versions Method

Description

Gathers a list of the currently available versions, associated version descriptions, and version IDs in Microsoft Office Project Server 2003.

Syntax

<Request>
   <Versions/>
</Request>

Parameters

None.

Return Value

If successful, the PDS returns a list of the available versions, version types, version default status, the version ID and associated Gantt bar style, and a successful HRESULT and STATUS.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
   <Versions>
      <Version>
         <Version></Version>
         <VersionID></VersionID>
         <Type></Type>
         <Default></Default>
         <GanttBarStyle></GanttBarStyle>
      </Version>
   </Versions>
</Reply>

Remarks

The reply element shown in bold is new since Microsoft Project 2002.

The PDS checks Project Server security for the currently logged-on user, and determines whether that user is a valid Project Server user.