message: feat: users.getRoles()
diff: @@ -158,7 +158,10 @@ import {
  UsersResponse,
  UsersVariables,
  UserDocument,
  - UserVariables
  + UserVariables,
  + RolesDocument,
  + RolesResponse,
  + RolesVariables
  } from '../types/graphql.v2';
  export const isAllowed = async (
  @@ -874,3 +877,17 @@ export const users = async (
  variables
  });
  };
  +
  +export const getRolesOfUser = async (
  + garpqhlClient: GraphqlClient,
  + tokenProvider: ManagementTokenProvider | AuthenticationTokenProvider,
  + variables: RolesVariables
  +): Promise<RolesResponse> => {
  + const query = RolesDocument;
  + const token = await tokenProvider.getAccessToken();
  + return garpqhlClient.request({
  + query,
  + token,
  + variables
  + });
  +};
  