10-10-2016 06:49 AM
How to manage the visibility of document by its permission or any using dotcmis dll file.
and how to get all list of users in alfresco by querying it.
10-10-2016 09:56 AM
You can get or set an object's permission by using method GetAcl/ApplyAcl of ISession.
To find a user or a set of users via a CMIS query,you can do it like this
IItemEnumerable<IQueryResult> qr1 = session.Query("SELECT * FROM cmerson", false);
Or select some fields for users with where condition
IItemEnumerable<IQueryResult> qr1 = session.Query("SELECT cm:userName, cm:homeFolder FROM cmerson where cm:userName like 'ttt%'", false);
10-10-2016 09:56 AM
You can get or set an object's permission by using method GetAcl/ApplyAcl of ISession.
To find a user or a set of users via a CMIS query,you can do it like this
IItemEnumerable<IQueryResult> qr1 = session.Query("SELECT * FROM cmerson", false);
Or select some fields for users with where condition
IItemEnumerable<IQueryResult> qr1 = session.Query("SELECT cm:userName, cm:homeFolder FROM cmerson where cm:userName like 'ttt%'", false);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.