Table of Contents

Class GroupCollection

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Security.dll
Represents a collection of groups.
public class GroupCollection : List<Group>, IList<Group>, ICollection<Group>, IReadOnlyList<Group>, IReadOnlyCollection<Group>, IEnumerable<Group>, IList, ICollection, IEnumerable
Inheritance
GroupCollection
Implements
Inherited Members
Extension Methods

Methods

FindGroupByID(int)

Retrieves a group from collection by its ID.
public Group FindGroupByID(int groupID)

Parameters

groupID int
The ID of the group to search for.

Returns

Group
Retrieved group or Nothing if the group can not be retrieved.

LoadUserCollection(int)

Loads Group collection users
public void LoadUserCollection(int depth)

Parameters

depth int
Number of sub groups

LoadUsers()

Loads group collection users
public void LoadUsers()

LoadUsers(int)

[Obsolete("Use LoadUserCollection instead.")]
public void LoadUsers(int numLevels)

Parameters

numLevels int
To top