Difference between revisions of "Group getUserCount"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Group_Functions]]
 
[[Category:Group_Functions]]

+
{{HelpFiles}}
  
 
====Group_getUserCount====
 
====Group_getUserCount====
Line 16: Line 16:
 
'''Return value'''
 
'''Return value'''
  
A ''number''
+
''number''
  
 
'''Example'''
 
'''Example'''
  
''array group = Group_getGroupByResourceId(33705216);''
+
''number groupRId = 33705216;
  
''number n = Group_getUserCount(group[GROUP_RESOURCE_ID]);''
+
''number n = Group_getUserCount(groupRId);''
 +
 
 +
''print(n);''
 +
 
 +
//5
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 04:50, 27 December 2011



Group_getUserCount

Get the number of users in a group

Syntax

Group_getUserCount(groupResourceId)

Arguments

  • groupResourceId: is a number expression. It is the group's resource id

Return value

number

Example

number groupRId = 33705216;

number n = Group_getUserCount(groupRId);

print(n);

//5

Availability

Version 5.6