ResourceSecurityTableClean Method
Description
Cleans the resource security table of Microsoft Office Project Server 2003. The PDS removes entries in the resource security table that match the specified resource ID and/or the SQL process ID, and that have a timestamp older than the specified age.
Syntax
<Request>
<ResourceSecurityTableClean>
<Age></Age>
<ResourceUID></ResourceUID>
<SPID></SPID>
</ResourceSecurityTableClean>
</Request>
Parameters
Age
Optional. The age, in hours, of the resource security table entries to be cleaned. Age defaults to 24 hours, if not given; Age cannot be less than 4 hours, nor more than 32767 hours.
ResourceUID
Optional. The resource unique ID.
SPID
Optional. The SQL Process ID.
Return Value
If the cleanup is successful, the PDS returns a successful HRESULT and STATUS.
<Reply>
<HRESULT></HRESULT>
<STATUS></STATUS>
<UserName></UserName>
</Reply>
Remarks
The PDS checks Project Server security for the currently logged-on user, determines whether that user is a valid Project Server user, and checks whether that user has sufficient administrative permissions to edit the resource security table.