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.
Go to Solution.
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.