Show/Hide Toolbars

Therefore Programming Interface 3.0

 

This functions defines the rights a user has on a specific Thereforeā„¢ Object (Category, Query, ...). The rights can be set only by the Thereforeā„¢ Rights Server or can be set as a combination of rights from the Thereforeā„¢ Default Rights and the Thereforeā„¢ Rights Server Rights.

 

public void GetObjRights([in] object vUser, [in] int nObjType, [in] int nObjNo, [in] int nSubObjNo, [out] int pnRightsSrvMask, [out] int pnTheDBMask)

 

Arguments

 

vUser

The User, who wants to archive a document (see User).

nObjType

The Object Type which rights should be determined for (Category, Query, ...) - see Object Types.

nObjNo

The Number of the Object which rights should be determined for (CategoryNo, QueryNo, ...)

nSubObjNo

Only used if nObjType = 3 (Category). Contains SubCategory No.

pnRightsSrvMask

The Rights the user has for this document in regards of the rights server implementation. Can be combined with pnTheDBMask (see Remarks).        

pnTheDBMask

The Rights that should be used from Thereforeā„¢. Can be combined with pnRightsSrvMask (see Remarks).        

 

Return

 

No Return Value.

 

Remarks

 

Additional Information about Rights:

Permission Values

 

C# Sample (Implementing the Function):

see GetDocRights

 

See also:

 

Additional Information about vUser Object

Ā© 2024 Therefore Corporation, all rights reserved.