CA Service Management

delete_wc 

Dec 09, 2015 03:57 PM

SPEL API methods

delete_wc

provided by cdtj

 

This method allows to delete objects that meets defined criteria

 

Definition:

delete_wc(string, string, object|nil ) ;

string - factory name

string - search criteria

object|nil - NULL

working example:

uuid cnt_id;
cnt_id = "<SOME CONTACT UUID HERE>";
send_wait(0, top_object(), "call_attr", "api", "delete_wc", "grpmem", format("member=U'%s'", (uuid)cnt_id), NULL); // remove membership of cnt_id from all groups;
                 

Statistics
0 Favorited
28 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.