Inside Activate
Development
Searching for a role in script based on parameter
0 min
using system; using system collections; using system collections objectmodel; using innovation activate; using innovation activate resources; using innovation activate utilities; using system collections generic; class script scriptbase { public void main() { activatecache cache = new activatecache(); role r = cache get(evaluator getobject("=//roles/departments") as role,"rolekey","d1") as role; if (r != null) trace writeline("{0}",r name); else trace writeline("can't find role"); } }