Interface UserManagementServiceOuterClass.UserOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UserManagementServiceOuterClass.User, UserManagementServiceOuterClass.User.Builder
Enclosing class:
UserManagementServiceOuterClass

public static interface UserManagementServiceOuterClass.UserOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The user identifier, which must be a non-empty string of at most 128 characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
    com.google.protobuf.ByteString
    The user identifier, which must be a non-empty string of at most 128 characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
    The ID of the identity provider configured by ``Identity Provider Config`` Optional, if not set, assume the user is managed by the default identity provider.
    com.google.protobuf.ByteString
    The ID of the identity provider configured by ``Identity Provider Config`` Optional, if not set, assume the user is managed by the default identity provider.
    boolean
    When set, then the user is denied all access to the Ledger API.
    The metadata of this user.
    The metadata of this user.
    The primary party as which this user reads and acts by default on the ledger *provided* it has the corresponding ``CanReadAs(primary_party)`` or ``CanActAs(primary_party)`` rights.
    com.google.protobuf.ByteString
    The primary party as which this user reads and acts by default on the ledger *provided* it has the corresponding ``CanReadAs(primary_party)`` or ``CanActAs(primary_party)`` rights.
    boolean
    The metadata of this user.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      String getId()
       The user identifier, which must be a non-empty string of at most 128
       characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
       Required
       
      string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The user identifier, which must be a non-empty string of at most 128
       characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
       Required
       
      string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • getPrimaryParty

      String getPrimaryParty()
       The primary party as which this user reads and acts by default on the ledger
       *provided* it has the corresponding ``CanReadAs(primary_party)`` or
       ``CanActAs(primary_party)`` rights.
       Ledger API clients SHOULD set this field to a non-empty value for all users to
       enable the users to act on the ledger using their own Daml party.
       Users for participant administrators MAY have an associated primary party.
       Optional,
       Modifiable
       
      string primary_party = 2 [json_name = "primaryParty"];
      Returns:
      The primaryParty.
    • getPrimaryPartyBytes

      com.google.protobuf.ByteString getPrimaryPartyBytes()
       The primary party as which this user reads and acts by default on the ledger
       *provided* it has the corresponding ``CanReadAs(primary_party)`` or
       ``CanActAs(primary_party)`` rights.
       Ledger API clients SHOULD set this field to a non-empty value for all users to
       enable the users to act on the ledger using their own Daml party.
       Users for participant administrators MAY have an associated primary party.
       Optional,
       Modifiable
       
      string primary_party = 2 [json_name = "primaryParty"];
      Returns:
      The bytes for primaryParty.
    • getIsDeactivated

      boolean getIsDeactivated()
       When set, then the user is denied all access to the Ledger API.
       Otherwise, the user has access to the Ledger API as per the user's rights.
       Optional,
       Modifiable
       
      bool is_deactivated = 3 [json_name = "isDeactivated"];
      Returns:
      The isDeactivated.
    • hasMetadata

      boolean hasMetadata()
       The metadata of this user.
       Note that the ``metadata.resource_version`` tracks changes to the properties described by the ``User`` message and not the user's rights.
       Optional,
       Modifiable
       
      .com.daml.ledger.api.v2.admin.ObjectMeta metadata = 4 [json_name = "metadata"];
      Returns:
      Whether the metadata field is set.
    • getMetadata

       The metadata of this user.
       Note that the ``metadata.resource_version`` tracks changes to the properties described by the ``User`` message and not the user's rights.
       Optional,
       Modifiable
       
      .com.daml.ledger.api.v2.admin.ObjectMeta metadata = 4 [json_name = "metadata"];
      Returns:
      The metadata.
    • getMetadataOrBuilder

       The metadata of this user.
       Note that the ``metadata.resource_version`` tracks changes to the properties described by the ``User`` message and not the user's rights.
       Optional,
       Modifiable
       
      .com.daml.ledger.api.v2.admin.ObjectMeta metadata = 4 [json_name = "metadata"];
    • getIdentityProviderId

      String getIdentityProviderId()
       The ID of the identity provider configured by ``Identity Provider Config``
       Optional, if not set, assume the user is managed by the default identity provider.
       
      string identity_provider_id = 5 [json_name = "identityProviderId"];
      Returns:
      The identityProviderId.
    • getIdentityProviderIdBytes

      com.google.protobuf.ByteString getIdentityProviderIdBytes()
       The ID of the identity provider configured by ``Identity Provider Config``
       Optional, if not set, assume the user is managed by the default identity provider.
       
      string identity_provider_id = 5 [json_name = "identityProviderId"];
      Returns:
      The bytes for identityProviderId.