Config1_Members

Provides APIs for managing members of the current group. Instances of this class should be obtained using Config1_Group.members.

Methods

MethodReturnsDescription
add() void

Adds the given user to the current group.

remove() void

Removes the given user from the current group.

toArray() Array.<String>

Returns a member list of the current group as an array of strings being the names of the users.

Method Details

add(user)

Description:
  • Adds the given user to the current group.

Parameters:
Name Type Description
user String | Config1_User

Name of the user or Config1_User object.

remove(user)

Description:
  • Removes the given user from the current group.

Parameters:
Name Type Description
user String | Config1_User

Name of the user or Config1_User object.

toArray() → {Array.<String>}

Description:
  • Returns a member list of the current group as an array of strings being the names of the users.

Returns:
Type
Array.<String>