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 Type

 

C# Sample (Implementing the Function):

see GetDocRights

 

See also:

 

Additional Information about vUser Object

© 2022 Therefore Corporation, all rights reserved.