Interface AddGroupMembersOptions

interface AddGroupMembersOptions {
    containerPath?: string;
    failure?: RequestFailure<any>;
    groupId: number;
    principalIds: number | number[];
    scope?: any;
    success?: RequestSuccess<{
        added: number[];
    }>;
}

Hierarchy (view full)

Properties

containerPath?: string
failure?: RequestFailure<any>

This will be called upon failure to complete a request.

groupId: number

The id of the group to which you want to add the member.

principalIds: number | number[]

An integer id or array of ids of the users or groups you want to add as members.

scope?: any

A scoping object for the success and failure callback functions (default to this).

success?: RequestSuccess<{
    added: number[];
}>

This will be called upon successfully completing a request.