Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

5530

January 3rd, 2011 03:00

dfc program to create acl

hi, can any one tell me how to create acl via DFC code, and basic syntax of the code

January 3rd, 2011 04:00

Hi,

This is the code to create ACL in API

create,c,dm_acl

set,c,l,object_name

xxxxxxx

set,c,l,owner_name

dm_dbo

grant,c,l,dm_world,3

grant,c,l,dm_owner,6

save,c,l

Through DFC u can do like this

IDfPersistentObject prs=(IDfPersistentObject)session.newObject("dm_acl");

prs.apiSet("set","object_name","xxxxxxx");

prs.save();

546 Posts

January 10th, 2011 10:00

Hi - did this answer your question? If so, could you please mark the question answered...if it didn't please ask follow up questions! thx -Gina

1 Message

January 24th, 2011 11:00

Why do we use 'l' in the API's? I know it refers to the last session but want to know more details about it. Can someone explain?

Basically what is the difference between using 'c' vs 'l' or why do we have to use both?

Thanks

1 Message

August 1st, 2014 02:00

Hi VKR,

generally 'l' refers lastly created/retrieved object, whether 'c' refers to current session. For example

create,c,dm_acl

set,c,l,object_name // In this line object name will be assigned to created object

xxxxxxxxx

Similar way

retrieve,c,dm_acl

set,c,l,object_name // In this line object name will be assigned to retrieved object

xxxxxxxxx


Hope i answered your question. Please do follow up if still it is nor clear


Regards

SoundhaR


No Events found!

Top