UNPKG

spws

Version:

SharePoint Web Services Wrapper

22 lines (21 loc) 822 B
import { SpwsResponse } from "../../types"; interface Operation extends SpwsResponse { data: { success: boolean; }; } /** * Removes the specified user from the specified group. * @param userLoginName A string that contains the user name (DOMAIN\User_Alias) of the user. * @param groupName A string that contains the name of the group. * @link https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-services/ms774499(v=office.12) * @example * ``` * const res = await removeUserFromGroup("dev\\john.smith", "Site Owners") * ``` */ declare const removeUserFromGroup: (userLoginName: string, groupName: string, { webURL, }?: { /** The SharePoint webURL */ webURL?: string | undefined; }) => Promise<Operation>; export default removeUserFromGroup;