Interface IUserTeam
The system entity for a user team, which holds which teams a user is a member of.
See https://help.lemonedge.com/help/open-architecture/admin/teams/users-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Administration
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.UserTeams, "dbo.LT_UserTeams", "UserTeam", IsStandingDataEntity = true, CustomToString = true)]
[MultipleUnique(new string[] { "UserID", "TeamID" })]
[DefaultEntityIcon(ImageType.UserRole)]
public interface IUserTeam : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
TeamID
[Key] Links to ITeam. The Team you want to provide with access to the user.
Declaration
[EntityDescription("The Team you want to provide with access to the user.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Team", "Team Users", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
UserID
[Key] Links to IUser. The User you want to provide with access to the team.
Declaration
[EntityDescription("The User you want to provide with access to the team.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.One, "User", "User Teams", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
Guid UserID { get; set; }
Property Value
Type | Description |
---|---|
Guid |