LumiSoft Mail Server User API
GetUserByName Method (userName)
Namespaces > LumiSoft.MailServer.API.UserAPI > UserCollection > GetUserByName(String)
Gets a User object in the collection by user name.
Syntax

C# | Visual Basic | Managed C++

    public User GetUserByName (
    	string userName
    )

    Public Function GetUserByName ( _
    	userName As String _
    ) As User

    public:
    User^ GetUserByName (
    	String^ userName
    )

Parameters

userName (String)
  User name.

Return Value
A User object value that represents the user in virtual server.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)