@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
25 lines • 1.4 kB
TypeScript
import { IFpsRoleAssignmentInfo } from "./IFpsRoleAssignmentInfo";
import { IFpsSpHttpServiceMIN } from "../../components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN";
/**
* 2025-01-03: Migrated from fps-library-v2/lib/pnpjs/Permissions, pnp2/lib/services/sp/perms
* combination of v2: getUserWebRoleAssignmentsInBatchD and pnp2: fetchUserWebPermsInBatchesD
*
* getWebRoleAssignmentsAPI gets all the web's Members and RoleDefinitionBindings combined.
*
* import { getWebRoleAssignmentsAPI } from '@mikezimm/fps-core-v7/lib/restAPIs/permissions/getWebRoleAssignmentsAPI';
* import { getUserWebRoleAssignmentsInBatchAPI } from '@mikezimm/fps-core-v7/lib/restAPIs/permissions/getUserWebRoleAssignmentsInBatchAPI';
*
* NOTE: IT MAY BE MORE EFFECTIVE TO JUST use getWebRoleAssignmentsAPI to get all role assignments instead of piece mealing specific users.
* Unless you only need a couple individuals.
*
* This essentially gives you the same net result object.
*
* @param fpsSpService
* @param webUrl
* @param userIds
* @param alertMe
* @param consoleLog
* @returns
*/
export declare function getUserWebRoleAssignmentsInBatchAPI(fpsSpService: IFpsSpHttpServiceMIN, webUrl: string, userIds: any[], alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<IFpsRoleAssignmentInfo>;
//# sourceMappingURL=getUserWebRoleAssignmentsInBatchAPI.d.ts.map