NGOGetRights

This call is used to get the Rrights of Users and groups Groups on a particular object like Cabinet, Folder, Document or Annotation. It takes ObjectIndex, object Object tType (Cabinet, Document, Folder, Annotation). This calls returns set of aclsAcls, which that have rRights on the specified object.

 

Input Parameter description

View sample InputXml

Output Parameter description

View sample OutputXml

Errors and Warnings

 

 

Input Parameters description

Name

Parent Tag

Description

Valid Values

Default

Values

Option

Root

Unique option for the call.

NGOGetRights

N/A

CabinetName

Root

Name of the Cabinet to which the User wants to connect.

 

N/A

UserDBId

Root

UserDatabase ID, which that is returned in the NGOConnectCabinet call

 

N/A

ObjectType

Root

Information about the tType of the oObject on which we are giving rRights.

C’- Cabinet,

‘D’-Document,

 ‘F’-Folder,

 ‘A’-Annotation

‘T’-

DataDefinition

N/A

ObjectIndex

Root

Index of the object on which rRights are being set.

Integer >= 0

N/A

 

Output Parameters description

Name

Parent Tag

Description

Option 

Root 

Unique Option for the Call. 

Status

Root

Status of the call. If it is 0, then the call is successful.

UserGroupACLs

Root

Parent tag which contains tags of <UserGroupACL>.

UserGroupACL

UserGroupACLsRoot

Contains Information about Users and gGroups.

UserGroupIndex

UserGroup

ACL

Index of the User or gGroup.

UserGroupName

UserGroup

ACL

Name of the User or Ggroup.

UserGroupType

UserGroup

ACL

 ‘U’ stands for User and ‘G’ for Group.

Rights

UserGroup

ACL

Rights string is the string is 6-digit string.

 

Errors returned from call

Code

Message

Comments

-50184

Object does not exist

Object for which the User wants to get rRights does not exist.s

-50028

Data Class not found.

Data Class for which the User wants to get rRights does not exist in the sSystem.

-50076

Invalid object access type.

Access tType specified in the iInput does not exist in the sSystem.

-50054

Invalid object type.

Object tType specified in the iInput does not exist in the sSystem.