// NewExchangeUser() // desc: Method calls PowerShellComponent command NewExchangeUser, creates new mailbox user on Exchange Server // params: Dictionary<string, string> attributes - Dictionary object, contains attributes for new user // method: public // return: string, XML string of ExchangeUser object public static string NewExchangeUser(Dictionary<string, string> attributes) { PowerShellComponent.ManagementCommands objManage = null; string Results = null; try{ objManage = new PowerShellComponent.ManagementCommands(); Results = objManage.NewExchangeUser(attributes); }catch (Exception e){ return e.Message; } objManage = null; return Results; }