Get Rights

 

Function Name: getGetRightsXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to get the Rights of Users and Groups on a particular Object like Cabinet, Folder, Document or Annotation. It takes objectindex, object type (Cabinet, Document, Folder, Annotation). This function returns set of ACLs, which have Rights on the specified Object.

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API:: NGOGetRights

 

 

Prototype:

 

public String getGetRightsXml

(

 

 

 

String cabinetName, String userDbId,

 

 

String objType, String objId

 

)

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

cabinetName

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

 

N/A

userDBId

UserDatabase ID, which is returned after the execution of getConnectCabinetXml call.

 

N/A

objectType

Information about the Type of the Object on which the Rights are being set.

‘C’- Cabinet, ‘D’-Document, ‘F’-Folder,

 ‘A’-Annotation

‘T’-DataDefinition

N/A

objectId

Index of the Object on which Rights are being set.

Integer >= 0

N/A

 

Output Parameters:

Input Xml of call NGOGetRights.