WebCenter Interaction API  
 

IPTCatalog.IsCatalogObjectAccessible Method 

Checks if current user has at least the minimum access level for a specific document or folder.

bool IsCatalogObjectAccessible(
   int lClassID,
   int lObjectID,
   int lMinAccessLevel
);

Parameters

lClassID
PT_CLASSIDS.PT_CATALOGCARD_ID or PT_CLASSIDS.PT_CATALOGFOLDER_ID.
lObjectID
document or folder ID to check.
lMinAccessLevel
minimum access level required (one of PT_ACCESS_LEVELS).

Return Value

boolean representing whether the object is accessible

See Also

IPTCatalog Interface | com.plumtree.server Namespace