How do I Send SMS to Active Directory Users

耗尽温柔 提交于 2019-12-24 10:50:02

问题


How do I send an SMS to Active Directory Users. I want to design a small application (in C#) for my telecom operator client that will send various SMS based notifications to their (AD) users by using their SMS gateway.


回答1:


I'm assuming you mean that the mobile number is stored in AD & you wish to pull this number out with a query and use the API provided by your SMS gateway to send a message?
You may want to look at this code sample. You can query AD with System.DirectoryServices. Finding the mobile phone number attribute in the AD schema may be a little easier with AD Explorer Hope this helps.



来源:https://stackoverflow.com/questions/348743/how-do-i-send-sms-to-active-directory-users

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!