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
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.UserTeams, "dbo.LT_UserTeams", "UserTeam", IsStandingDataEntity = 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)]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Teams", "UserTeams", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
System.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)]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.One, "Users", "UserTeams", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
Guid UserID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |