how to upload users into lync using lync api -


I want to upload users to a link through an XML file. Is there any link API or C # code to do this ?? I like the XML file below

  and lt; Ns1: linksOnline one page xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: ns1 = "http: /sschemas.microsoft.com/online/mco/2011/02/acp" & Gt; - & lt; ns1: ACPUser & gt; & lt; ns1: Username & lt; first.last@test.com< / ns1: Username & gt; - & lt; ns1: UserAudioConferencingInfo & gt; - & lt; Ns1: Provider & gt; & Lt; Ns1: Identity & gt; BT Conferencing & lt; / Ns1: Identity & gt; & Lt; / Ns1: Provider & gt; & Lt; Ns1: tollenumber & gt; 1720 9 882090 & lt; / Ns1: Toll number & gt; & Lt; Ns1: tollfree number & gt; 18666708282 & lt; / Ns1 also: TollFreeNumber & gt; & Lt; Ns1 also: Passcode & gt; 99,999,999 & lt; / Ns1 also: Passcode & gt; & Lt; / Ns1 also: ACPUser & gt; & Lt; / Ns1 also: UserAudioConferencingInfo & gt; & Lt; / Ns1 also uses LyncOnlineAcpUsers & gt;  

You have to write (at least) your script to do this, the following steps :

  • Load XML and Loop through all users, then for each user:
  • Create user in Active Directory.
  • Enable
  • Enable Lync User for Enterprise Voice (since you have a phone number, I believe you want it).

These individual steps can be easily made with PowerShell, see the following commands:

  • To read an XML file, go to Get- Content .
  • Adder to create new AD user .
  • Enable-CsUser to create a Linux user.
  • To enable a Lync user for the Set-CsUser voice.

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -