viewSelf method

ResponseFuture<User> viewSelf(
  1. Empty request, {
  2. CallOptions? options,
})

Retrieves the contextual profile details of the currently authenticated system caller.

This serves as the primary endpoint for populating active user dashboards and checking current permissions.

Errors:

  • UNAUTHENTICATED: If the calling context lacks valid session tokens.

Implementation

$grpc.ResponseFuture<$0.User> viewSelf(
  $1.Empty request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$viewSelf, request, options: options);
}