Hi guys,
Is it possible to create an acl dynamically using dfc instead of having to do it manually in da? If so, could anyone post some sample codes for that? Thanks in advance.
Hi,
Think I've found the codes. Just in case if anyone wants to know about it, here's how it is:
IDfACL oACL = (IDfACL)session.newObject("dm_acl");
oACL.setObjectName("My own ACL");
oACL.setDescription("Description of my own ACL");
oACL.grant("dm_owner",IDfACL.DF_PERMIT_DELETE,null);
oACL.grant("dm_world",IDfACL.DF_PERMIT_BROWSE,null);
oACL.save();
Cheers