LumiSoft Mail Server User API
GroupCollection Class
Namespaces > LumiSoft.MailServer.API.UserAPI > GroupCollection
The GroupCollection object represents user groups in LumiSoft Mail Server virtual server.
Syntax

C# | Visual Basic | Managed C++

    public class GroupCollection : IEnumerable

    Public Class GroupCollection _
    	Implements IEnumerable

    public ref class GroupCollection : IEnumerable

Members

All Members | Constructors | Methods | Properties | Fields | Events
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| Add(String, String, Boolean) | Creates and adds new group to group collection.
| Contains(String) | Check if collection contains group with specified name.
| Count | Gets number of groups in virtual server.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetEnumerator() | Gets enumerator.
| GetGroupByName(String) | Gets a Group object in the collection by group name.
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetType() | Gets the Type of the current instance. (Inherited from Object.)
| Item(Int32) | Gets a Group object in the collection by index number.
| Item(String) | Gets a Group object in the collection by group ID.
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.)
| Refresh() | Refreshes groups.
| Remove(Group) | Deletes and removes specified group from group collection.
| ToString() | Returns a String that represents the current Object. (Inherited from Object.)
| VirtualServer | Gets the VirtualServer object that is the owner of this collection.

Inheritance Hierarchy

Object
| GroupCollection

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)