/// <summary> Constructor for a new instance of the User_Group class </summary> /// <param name="Name">Name for this SobekCM user group</param> /// <param name="Description">Description for this SobekCM user group</param> /// <param name="UserGroupID">UserGroupID (or primary key) to this user group from the database</param> public User_Group(string Name, string Description, int UserGroupID) { this.Name = Name; this.Description = Description; this.UserGroupID = UserGroupID; Can_Submit = false; Is_Internal_User = false; Is_System_Admin = false; templates = new List<string>(); defaultMetadataSets = new List<string>(); aggregations = new User_Editable_Collection(); editableRegexes = new List<string>(); users = new List<User_Group_Member>(); }
/// <summary> Constructor for a new instance of the User_Group class </summary> /// <param name="Name">Name for this SobekCM user group</param> /// <param name="Description">Description for this SobekCM user group</param> /// <param name="UserGroupID">UserGroupID (or primary key) to this user group from the database</param> public User_Group(string Name, string Description, int UserGroupID) { this.Name = Name; this.Description = Description; this.UserGroupID = UserGroupID; Can_Submit = false; Is_Internal_User = false; Is_System_Admin = false; templates = new List <string>(); projects = new List <string>(); aggregations = new User_Editable_Collection(); editableRegexes = new List <string>(); users = new List <User_Group_Member>(); }
/// <summary> Constructor for a new instance of the User_Object class </summary> public User_Object() { Family_Name = String.Empty; Given_Name = String.Empty; ShibbID = String.Empty; Email = String.Empty; Department = String.Empty; Nickname = String.Empty; Can_Submit = false; Is_Just_Registered = false; Send_Email_On_Submission = true; Is_Temporary_Password = false; Is_Internal_User = false; UserName = String.Empty; Preferred_Language = String.Empty; templates = new List <string>(); defaultMetadataSets = new List <string>(); bibids = new List <string>(); bookshelfObjectIds = new List <string>(); Items_Submitted_Count = 0; Organization = String.Empty; Department = String.Empty; Unit = String.Empty; College = String.Empty; Organization_Code = String.Empty; Edit_Template_Code = String.Empty; Edit_Template_MARC_Code = String.Empty; aggregations = new User_Editable_Collection(); editableRegexes = new List <string>(); folders = new SortedList <string, User_Folder>(); Default_Rights = "All rights reserved by the submitter."; Is_System_Admin = false; Is_Portal_Admin = false; Has_Descriptive_Tags = false; userGroups = new List <string>(); Receive_Stats_Emails = true; Has_Item_Stats = false; Include_Tracking_In_Standard_Forms = true; userSettings = new Dictionary <string, object>(); Can_Delete_All = false; Authentication_Type = User_Authentication_Type_Enum.NONE; defaultMetadataSets_from_groups = new List <string>(); templates_from_groups = new List <string>(); LoggedOn = false; }
/// <summary> Constructor for a new instance of the User_Object class </summary> public User_Object() { Family_Name = String.Empty; Given_Name = String.Empty; UFID = String.Empty; Email = String.Empty; Department = String.Empty; Nickname = String.Empty; Can_Submit = false; Is_Just_Registered = false; Send_Email_On_Submission = true; Is_Temporary_Password = false; Is_Internal_User = false; UserName = String.Empty; Preferred_Language = String.Empty; templates = new List<string>(); projects = new List<string>(); bibids = new List<string>(); bookshelfObjectIds = new List<string>(); Items_Submitted_Count = 0; Organization = String.Empty; Department = String.Empty; Unit = String.Empty; College = String.Empty; Organization_Code = String.Empty; Edit_Template_Code = String.Empty; Edit_Template_MARC_Code = String.Empty; aggregations = new User_Editable_Collection(); editableRegexes = new List<string>(); folders = new SortedList<string, User_Folder>(); Default_Rights = "All rights reserved by the submitter."; Is_System_Admin = false; Is_Portal_Admin = false; Has_Descriptive_Tags = false; userGroups = new List<string>(); Receive_Stats_Emails = true; Has_Item_Stats = false; Include_Tracking_In_Standard_Forms = true; userOptions = new Dictionary<string, object>(); }