Qualification setLevelOnUsers

From Catglobe Wiki
Revision as of 05:08, 24 October 2016 by Nguyennhuhong (talk | contribs) (Created page with "{{HelpFiles}} ==== Qualification_setLevelOnUsers ==== Set level on user. '''Syntax''' Qualification_setLevelOnUsers(array list_rids, number qualification_id, number level)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Qualification_setLevelOnUsers

Set level on user.

Syntax

Qualification_setLevelOnUsers(array list_rids, number qualification_id, number level);

Return type

Empty

Examples

array a = Qualification_getByName("B2B");
print(a);
 
Dictionary b = Qualification_getLevelForUsers({12649177},a[1],0,1000);
print(b);

Qualification_setLevelOnUsers({12649177},a[1],3);

Dictionary c = Qualification_getLevelForUsers({12649177},a[1],0,1000);
print(c);

//Result:
{37,4,B2B,1,4,True}
{"12649177": 4}
{"12649177": 3}