1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

This is unused and can be removed. (#15487)

This commit is contained in:
Jared McCannon
2025-07-09 07:59:39 -05:00
committed by GitHub
parent 682f1f83d9
commit cee4e6c4c7
2 changed files with 0 additions and 18 deletions

View File

@@ -37,13 +37,6 @@ export abstract class OrganizationUserApiService {
},
): Promise<OrganizationUserDetailsResponse>;
/**
* Retrieve a list of groups Ids the specified organization user belongs to
* @param organizationId - Identifier for the user's organization
* @param id - Organization user identifier
*/
abstract getOrganizationUserGroups(organizationId: string, id: string): Promise<string[]>;
/**
* Retrieve full details of all users that belong to the specified organization.
* This is only accessible to privileged users, if you need a simple listing of basic details, use

View File

@@ -48,17 +48,6 @@ export class DefaultOrganizationUserApiService implements OrganizationUserApiSer
return new OrganizationUserDetailsResponse(r);
}
async getOrganizationUserGroups(organizationId: string, id: string): Promise<string[]> {
const r = await this.apiService.send(
"GET",
"/organizations/" + organizationId + "/users/" + id + "/groups",
null,
true,
true,
);
return r;
}
async getAllUsers(
organizationId: string,
options?: {