addGroupMembers( )


Adds site members to a group.

について addGroupMembers() function returns a Promise that resolves to the newly-added group member after the member has successfully been added.

For SECRET groups, site admins, group admins, and group members can add additional members to their group.

For PUBLIC そして PRIVATE groups, only site admins and group admins can add additional members to their group. They can also choose to allow all group members to add a new member to the group. This setting can be found in your site's Dashboard under Groups Application > Your Group > Admin Tools > Member Permissions.

メソッド宣言
コピー
メソッド・パラメータ
groupIdstringRequired

Group ID.


memberIdsArray<string>Required

IDs of the site members to add to the group.


optionsAddGroupMembersOptions
リターン
Return Type:Promise<AddGroupMembersResponse>
役に立ちましたか?
はい
いいえ