Clarity Service Management

get_func_access 

12-09-2015 04:10 PM

SPEL API methods

get_func_access

 

This method allows to get code of functional access that is defined for the object

 

Definition:

get_func_access(string);

string - factory name

 

working example:

send_wait(0, top_object(), "call_attr", "api", "get_func_access", "chg" );
   if (msg_error()) {
      logf(ERROR, "get_func_access failed %s",msg[0]);
     }
     else
     {
     logf(SIGNIFICANT, "chg: %s %s %s",msg[0],msg[1], msg[2]); //msg[0] - always int 1, msg[1] - factory name e.g. cr, msg[2] -functional access code e.g change_mgr
     }
            

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

02-13-2017 05:25 PM

Thanks for sharing this tip with the community!

get_func_access 

Related Entries and Links

No Related Resource entered.