GetObjList |
Scroll |
This functions returns a list of objects of an specific type (Category, Query, ...), where the user has a specific right for. So this call can retrieve all Categories the user has at least Read Rights for.
public void GetObjList([in] object vUser, [in] int nObjType, [in] int pnAccessMask, [out] object pvaList) |
Arguments
vUser
The User, who wants to archive a document (see Remarks).
nObjType
The Object Type which rights should be determined for (Category, Query, ...) - see Object Types.
pnAccessMask
The Rights that the user must have on that object.
pvaList
Array of IDs of type nObjType, where the user has these specific rights for (i.e. Array of Category Numbers).
Return
Return Value |
Right |
0 |
Use Thereforeā¢ Rights |
1 |
OK - Use Rights Server Rights |
NotImplementedException |
Use Thereforeā¢ Default Rights and do not call that function again |
Remarks
Additional Information about Rights: