Interface IUserSpecific
Indicates this entity can ensure records can be private to specific users or public to all
This is automatically handled by the system, ensuring users can only see their own records or public ones.
Any entity can implement this interface to acquire this functionalityNamespace: LemonEdge.API.Entities.Bases
Assembly: API.dll
Syntax
public interface IUserSpecific
Properties
UserID
Links to IUser. Indicates if this entity record is private to just the specified user, or if it is public to everyone (holding null)
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.ZeroToOne, "Users", "User Specifc Items", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
Guid? UserID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |