[英]How to add user to exchange with using novell library
help me to write a function in c#.net core that add user to exchange using novell library or any library that could do it .帮助我在c#.net core中编写一个函数,该函数使用novell 库或任何可以执行此操作的库添加用户进行交换。 the point is that I need run my code on linux.
关键是我需要在 linux 上运行我的代码。
I assume you're talking about on premises Exchange (not Exchange Online, or Office 365).我假设您在谈论本地 Exchange(不是 Exchange Online 或 Office 365)。
You can't do this from Linux unfortunately.不幸的是,你不能在 Linux 上做到这一点。
Exchange does have a web service , but it cannot be used to create mailboxes . Exchange 确实有一个Web 服务,但它不能用于创建邮箱。
The only way to create mailboxes in Exchange is to use PowerShell commands.在 Exchange 中创建邮箱的唯一方法是使用 PowerShell 命令。 This isn't terribly easy either.
这也不是特别容易。 I have automated mailbox creation in C#, and I had to call the PowerShell commands from C# (and it has a ton of weird quirks - it's awful).
我在 C# 中自动创建邮箱,我不得不从 C# 调用 PowerShell 命令(它有很多奇怪的怪癖 - 太糟糕了)。 But that, of course, can only be done on Windows.
但这当然只能在 Windows 上完成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.