CA Service Management

 View Only

get_func_access 

Dec 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
23 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.