I want to check the roles of the logined user,

AccessControlList aclt = rundata.getACL();
if(aclt.hasRole("news-editor"))
  ...
else
  ...

but always i cant get the expected result although
my logined user has been assgined the roles
'news-editor',

please help me.



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to