Package com.daml.ledger.api.v1.admin
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
The user identifier, which must be a non-empty string of at most 128 characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".com.google.protobuf.ByteString
getIdBytes()
The user identifier, which must be a non-empty string of at most 128 characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".java.lang.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
The user identifier, which must be a non-empty string of at most 128 characters that are either lowercase 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 lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:". Required
string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
getPrimaryParty
java.lang.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
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
string primary_party = 2 [json_name = "primaryParty"];
- Returns:
- The bytes for primaryParty.
-
-