LumiSoft Mail Server User API
UserCollection Class
Namespaces > LumiSoft.MailServer.API.UserAPI > UserCollection
The UserCollection object represents users in LumiSoft Mail Server virtual server.
Syntax
C#Visual BasicManaged C++
public class UserCollection : IEnumerable
Public Class UserCollection _
	Implements IEnumerable
public ref class UserCollection : IEnumerable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Add(String, String, String, String, Int32, Boolean, UserPermissions_enum)
Adds new user to virtual server.
Contains(String)
Check if collection contains user with specified name.
Count
Gets number of users 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.
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.)
GetUserByName(String)
Gets a User object in the collection by user name.
Item(Int32)
Gets a User object in the collection by index number.
Item(String)
Gets a User object in the collection by user ID.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Refresh()
Refreshes users.
Remove(User)
Removes specified user from virtual server.
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
UserCollection

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)