csclient.getRoot().getAllPermissionInfo(CSUser user, CSVPath vpath)
csbranch.getWorkareasForUser(CSUser user, boolean recurse)
iwaccess all-permission-entries-of-user <user>
2) Trying to figure out a logic by which i can check if the use has access to those branches or not? ---I am stuck here...
......are you still stuck?