I would like to get user or user group permission on the class level via COM API as shown in the image. Kindly assist.
I would like to get user or user group permission on the class level via COM API as shown in the image. Kindly assist.
The information is available via the ACL on the ObjectClass instance: M-Files API - ObjectClass Object
This ACL class is rather flexible and I don't 100% recall exactly how the properties map to the items you see on the screen there (this class is also used to represent object ACLs, for example, too), but I am pretty sure that property has the information.
Hi Craig,
I would like to change the permissions on a class.
I understand that I have to use the ClassOperations.UpdateObjectClassAdmin method, which uses the ObjectClassAdmin object. But it only has the AutomaticPermissionsForObjects property, which includes NACL. However, the AccessControlList property, which actually specifies the Permissions tab, is missing.
How can I do it?
Thanks.
It may be worth you posting a separate question, rather than re-opening this one.
My role changed about 9 months ago and I do not have a dedicated responsibility around developer support, so my time on this forum is exceptionally limited. I do not - personally - have a specific answer here. Hopefully someone else can take some time on it.
It may be worth you posting a separate question, rather than re-opening this one.
My role changed about 9 months ago and I do not have a dedicated responsibility around developer support, so my time on this forum is exceptionally limited. I do not - personally - have a specific answer here. Hopefully someone else can take some time on it.
© 2025 M-Files, All Rights Reserved.