LumiSoft Mail Server User API
Add Method (userName, fullName, password, description, mailboxSize, enabled, permissions)
Namespaces > LumiSoft.MailServer.API.UserAPI > UserCollection > Add(String, String, String, String, Int32, Boolean, UserPermissions_enum)
Adds new user to virtual server.
Syntax

C# | Visual Basic | Managed C++

    public User Add (
    	string userName,
    	string fullName,
    	string password,
    	string description,
    	int mailboxSize,
    	bool enabled,
    	UserPermissions_enum permissions
    )

    Public Function Add ( _
    	userName As String, _
    	fullName As String, _
    	password As String, _
    	description As String, _
    	mailboxSize As Integer, _
    	enabled As Boolean, _
    	permissions As UserPermissions_enum _
    ) As User

    public:
    User^ Add (
    	String^ userName,
    	String^ fullName,
    	String^ password,
    	String^ description,
    	int mailboxSize,
    	bool enabled,
    	UserPermissions_enum permissions
    )

Parameters

userName (String)
  User login name.
fullName (String)
  User full name.
password (String)
  User login password.
description (String)
  User description.
mailboxSize (Int32)
  Maximum mailbox size in MB.
enabled (Boolean)
  Sepcifies if user is enabled.
permissions (UserPermissions_enum)
  Specifies user permissions.

Return Value

[Missing <returns> documentation for M:LumiSoft.MailServer.API.UserAPI.UserCollection.Add(System.String,System.String,System.String,System.String,System.Int32,System.Boolean,LumiSoft.MailServer.API.UserAPI.UserPermissions_enum)]

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)