PermissionCheck Method
Description
Checks to determine whether the user has a specified permission on Microsoft Office Project Server 2003.
Syntax
<Request>
<PermissionCheck>
<PermissionID></PermissionID>
</PermissionCheck>
</Request>
Parameters
PermissionID
The permission ID.
Return Value
If the user does have the requested permission, the PDS returns a successful HRESULT and STATUS. Otherwise, the PDS returns a successful HRESULT and a STATUS of 50 (rsSecurityAccessDenied).
<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 to determine whether that user has been granted the permission represented by PermissionID. See PDS Permissions for a table of Permission IDs.