[opencms-dev] How to check access rights through API's
???
shiys at langhua.cn
Sun Jan 9 14:53:01 CET 2005
Hi Jyoti,
Try the following:
CmsProject currentProject = cms.getRequestContext().currentProject();
boolean writeAccess = test.getProjectId() == currentProject.getId();
Regards,
Shi Yusen / Beijing Langhua Ltd.
-----????-----
???: Jyoti Arora [mailto:jyoti.arora at amsoft.net]
????: 2005?1?3? 17:19
???: opencms-dev at opencms.org
??: [opencms-dev] How to check access rights through API's
Hi
I'm trying to check the access rights of the logged in user on a specific file and its authorization through the API's
Can anyone help me on the same
Regards
Jyoti
More information about the opencms-dev
mailing list