getProfile method
Gets a profile.
Required permissions: rolesanywhere:GetProfile.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
Parameter profileId :
The unique identifier of the profile.
Implementation
Future<ProfileDetailResponse> getProfile({
required String profileId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/profile/${Uri.encodeComponent(profileId)}',
exceptionFnMap: _exceptionFns,
);
return ProfileDetailResponse.fromJson(response);
}