Share via


SetCallerWResID Method

Description

Specifies the current caller ID for the Microsoft Office Project Server 2003 security object. The security object uses that caller ID for subsequent calls to the Project Data Service (PDS).

Syntax

Sub SetCallerWResID( _
   ByVal res_id As Long)

Parameters

Parameter Description

res_id

Required Long. The resource ID in MSP_WEB_RESOURCES.WRES_ID.

Return Value

The SetCallerWResID method returns no value (Void).

Example

The following example is for Microsoft Visual Basic 6.0.

Set oSec = CreateObject("PjSvrSecurity.PjSvrSecurity")
oSec.SetDBConnection "ProjectServer"
oSec.SetCallerWResID 122