Hi,
Does anyone know how to check a users role from a Perl script on 6.7.1SP1 (Win and Sol.), as I can't actually find anything that works!
Once upon a time I could just make a call to the iwckrole CLT, passing it the role and the username. This would return YES or NO, job done.
With 6.7.1SP1 the iwckrole command still only takes role+username, but of could roles are no longer set globally - they are set per-branch (so a user can be an Editor in one branch but only an Author in a second). As there is no vpath param to iwckrole I can't check the users role in a specific branch.
I've also looked at the iwuseradm CLT and running
iwuseradm all-roles-ofuser
gives me a list of the users roles...but again these are all the roles the use has anywhere on the system with no link to any branches.
So, does anyone have any suggestions how I can find out a users role on a specific branch?
Thanks,
mstradling