get_func_access

Document created by Gutis Champion on Dec 9, 2015
Version 1Show Document
  • View in full screen mode

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
     }
            
1 person found this helpful

Attachments

    Outcomes