Class UserManagementServiceGrpc


  • @Generated(value="by gRPC proto compiler",
               comments="Source: com/daml/ledger/api/v1/admin/user_management_service.proto")
    public final class UserManagementServiceGrpc
    extends java.lang.Object
     Service to manage users and their rights for interacting with the Ledger API
     served by a participant node.
     The authorization rules for its RPCs are specified on the ``<RpcName>Request``
     messages as boolean expressions over these two facts:
     (1) ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
     (2) ``IsAuthenticatedUser(uid)`` denoting whether ``uid`` is the empty string or equal to the id of the authenticated user.
     The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:
     (1) ``Optional`` denoting the client may leave the field unset when sending a request.
     (2) ``Required`` denoting the client must set the field to a non-default value when sending a request.
     A user resource consists of:
     (1) a set of properties represented by the ``User`` message,
     (2) a set of user rights, where each right is represented by the ``Right`` message.
     A user resource, once it has been created, can be modified.
     In order to update the properties represented by the ``User`` message use the ``UpdateUser`` RPC. The only fields that can be modified are those marked as ``Modifiable``.
     In order to grant or revoke user rights use ``GrantRights' and ``RevokeRights`` RPCs.