Environment[indent]TS 7.2.1 Patch 1 on Linux[/indent]
Task At Hand[indent]I am trying to figure out if it is possible, through CSSDK, to determine if a given user has the ability to unlock a file locked by another -
without (or
in advance of) actually trying to perform the unlock operation.
I was figuring that I'd start with something like:
...
CSUser user = someMethod(); /* this part is not important, I can get the user object */
CSRole[] roles = user.getRoles(/* what goes here? */);
for (CSRole role : roles) {
CSOperation[] ops = role.getOperations();
for (CSOperation op : ops) {
if (op.getName().matches("UnlockFile")){
/* ... */
}
}
}
...
[/indent]
Issues / Questions[indent]