This call
is used to set rRights for a User or a gGroup
on any oObject like dDocument,
fFolder, aAnnotation
or cCabinet. This call will consider
the lList sent as the final lList
and will overwrite the previous existing rRights
on that oObject. It takes objectindex, objecttype
(Cabinet, Document, Folder, Annotation, DataDefinition) and set of Acl
lList. An Acl contains information
about User or gGroup the includeing
iIndex of the User (or gGroup),
tType (User or Group) and 6 digit6-digit
rRights string. This call can be used
efficiently when the User wants
to set rights Rights for multiple Users and groups Groups on an
object Object.
|
Name |
Parent Tag |
Description |
Valid Values |
Default Values |
Option |
Root |
Unique option for the call. |
NGOSetAcl |
N/A |
CabinetName |
Root |
Name of the Cabinet to which the User wants to connect. |
|
N/A |
UserDBId |
Root |
UserDatabase
ID |
|
N/A |
ObjectType |
Root |
Information
about the |
‘C’- Cabinet, ‘D’-Document, ‘F’-Folder, ‘A’-Annotation ‘T’- DataDefinition |
N/A |
ObjectIndex |
Root |
Index
of the |
Integer >= 0 |
N/A |
RetainPrevious ACL |
Root |
User wants to retain the previous ACL. |
‘X’-Retaining previous Acl, i.e. append this Acl to the previous one ‘Y’ – do not retain previous Acl i.e. replace the previous ACL |
‘N’ |
LogGeneration |
Root |
Whether log has to be generated or not. |
‘Y’ – Yes ‘N’ - No |
|
UserGroupACLs |
Root |
It contains a set of UserGroupAcl tags |
|
N/A |
UserGroupACL |
UserGroup ACLs |
It contains
information about the User or |
|
N/A |
UserGroupIndex |
UserGroup ACL |
Index
of the User or |
Integer >= 0 |
N/A |
UserGroupType |
UserGroup ACL |
User or Group. |
U-User G-Group |
N/A |
Rights |
UserGroup ACL |
6 |
|
N/A |
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. |
Code |
Message |
Comments |
-50017 |
Folder not found. |
Folder |
-50074 |
Invalid parameters |
Some of the parameter passed in the |
-50073 |
Cannot assign rights to Admin |
When the
User wants to assign |
-50013 |
Group not found. |
Group does not exist. |
-50066 |
Group has expired |
The Group
|
-50001 |
Cabinet not found. |
Cabinet does not exists. |
-50017 |
Folder not found. |
Object on which the
User wants to set |
-50119 |
System defined properties cannot be changed. |
System- |
-50023 |
Document not found |
Object on which the
User wants to set |
-50132 |
Document has been deleted. |
Document has been deleted. |
-50034 |
Annotation not found |
Annotation for which |
-50028 |
Data Class not found |
Data Class for which the
Rights have to be set |
-50130 |
User cannot assign rights to himself. |
Users
cannot assign |
-50058 |
Specified User does not exist. |
The specified
User for whom the |
-50063 |
Specified User has expired. |
The specified
User for whom the Rights have to be set |
-50064 |
Specified User is not alive. |
The specified
User for whom the Rights have to be set |
-50133 |
Folder has been deleted. |
Folder has been deleted. Its location is T |
-50168 |
User cannot assign rights. |
User does
not have Rights to set Rights on an Object. |