CreateExternalTenantUserMappingDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Data Transfer Object for creating an external tenant user mapping.
public record CreateExternalTenantUserMappingDto : IEquatable<CreateExternalTenantUserMappingDto>
Inheritance Object → CreateExternalTenantUserMappingDto
Implements IEquatable<CreateExternalTenantUserMappingDto>
Properties
SourceTenantId
The source tenant ID.
public string SourceTenantId { get; set; }
Property Value
SourceUserId
The source user ID.
public string SourceUserId { get; set; }
Property Value
SourceUserName
The source user name.
public string SourceUserName { get; set; }
Property Value
RoleIds
Optional list of role IDs to assign.
public List<string> RoleIds { get; set; }
Property Value
GroupIds
Optional ids of target-tenant groups the mapping becomes a member of. The mapped user gets exactly
the roles of these groups plus CreateExternalTenantUserMappingDto.RoleIds. null or empty keeps the behaviour without groups.
An id that is no group of the target tenant is refused with 400, code
CrossTenantGrantProblemCodes.UnknownGroup. Not sent when null, so requests of
existing callers keep their wire shape.
public List<string> GroupIds { get; set; }
Property Value
Constructors
CreateExternalTenantUserMappingDto()
public CreateExternalTenantUserMappingDto()