Difference between revisions of "Qualification getLevelForUsers"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{HelpFiles}} ==== Qualification_getLevelForUsers ==== Get information about min level and max level of users '''Syntax''' array a = Qualification_getLevelForUsers(array l...")
 
Line 7: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
array a = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);
+
Dictionary a = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);
  
 
'''Return type'''
 
'''Return type'''

Revision as of 09:39, 14 October 2016


Qualification_getLevelForUsers

Get information about min level and max level of users

Syntax

Dictionary a = Qualification_getLevelForUsers(array list_rids, number qualification_id, number min_level, number max_level);

Return type

An array, it is information about min level and max level of users

Examples

array a = Qualification_getByName("B2B");
print(a);

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

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