What is the preferred method of determining whether a token has acquired a shared resource or not?
In custom code, I need to determine if a given token has acquired certain resources. I currently test whether the node name returns 'NULL' or not. This works but seems inefficient...
if (getname(getlabel(token,"myresource")) == "NULL") { // do something }
Thanks,
Stan