Beispiel #1
0
		/// <summary>
		/// Gets all.
		/// </summary>
		/// <returns></returns>
		public GroupCollection GetAll()
		{
			GroupCollection groups = new GroupCollection();
			SharePointListDescriptor items = Provider.GetAllListItems(ForumConstants.Lists_Groups);

			foreach (SharePointListItem listItem in items.SharePointListItems)
			{
				groups.Add(new Group(listItem.Id, listItem["Title"]));
			}

			return groups;
		}
Beispiel #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="ForumUser"/> class.
		/// </summary>
		public ForumUser()
		{
			groups = new GroupCollection();
		}