C# 中的邮件存储配额检查器
我们有一个需求,为内网场景下的用户构建一个工具。 该工具应检查正在使用的邮箱配额(在 Active Directory 中设置)的百分比。 目前,他们可以使用 Outlook 2003 检查文件夹大小,但这不会显示为其设置的配额限制或正在使用的百分比。
这个博客包含我的所有确切信息需要包含 vbscript 示例。 如果您有类似的 C# 代码,请发布。 这将为我编写一个小型系统托盘应用程序提供良好的指导,该应用程序将轮询 Active Directory 并实时显示百分比。
PS:我没有偷懒。 已经开始为此编写代码。 只是检查一下你们中是否有人经历过类似的练习并且有代码可以分享。
We have a requirement to build a tool for users in an Intranet scenario.
The tool should check how much percentage of the Mailbox Quota (set in Active Directory) is being used.
Currently, they can check their Folder size using Outlook 2003 but this does not show the Quota Limit set for them or the percentage being used.
This blog has all the exact information I need including vbscript samples.
If you have any similar C# code, please post it.
That will give me a good lead on writing a small system tray application which will poll the Active Directory and show the percentage in real time.
PS: I am not being lazy. Already started writing code for this. Just checking if any of you went through a similar exercise and have code to share.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查询 ActiveDirectory 非常简单。 您可以在此处找到我之前使用过的一些很好的示例。
Querying ActiveDirectory is pretty simple. You can find some good examples I've used before here.