cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API Get User's Writing Access Area on Objects

ColruytTeam
Honored Contributor

Hi All,

In administration console we can see two writing access area attributes , One is in general administration tab and other in characteristics tab. I am trying to get writing access area of current user as below:

Context.getRoot.getCollection("User").Item(MegaEnv.getcurrentuserid).GetProp("Writing Access Area")

It is giving me the one in general administration tab.

But I want to fetch the one in characteristics tab. Can any one help me. How I can get that writing access area.

 

Thanks in advance.

 

Regards,

Venkatesh.

Colruyt Team
1 Reply

ColruytTeam
Honored Contributor

I found the solution.

I am using userObject.getCollection("writing access area") instead of userObject.getProp("Writing Access Area")

 

This is giving me the one in characteristics tab.

 

Thanks,

venkatesh

Colruyt Team