mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
This is unused and can be removed. (#15487)
This commit is contained in:
@@ -37,13 +37,6 @@ export abstract class OrganizationUserApiService {
|
|||||||
},
|
},
|
||||||
): Promise<OrganizationUserDetailsResponse>;
|
): 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.
|
* 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
|
* This is only accessible to privileged users, if you need a simple listing of basic details, use
|
||||||
|
|||||||
@@ -48,17 +48,6 @@ export class DefaultOrganizationUserApiService implements OrganizationUserApiSer
|
|||||||
return new OrganizationUserDetailsResponse(r);
|
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(
|
async getAllUsers(
|
||||||
organizationId: string,
|
organizationId: string,
|
||||||
options?: {
|
options?: {
|
||||||
|
|||||||
Reference in New Issue
Block a user