-
How do I to create new users using VBA?
Hi I´m trying to create new users on @api/deki/users
I followed the code pubished on the FAQS How do I...Use VBA to export data to MindTouch?:
http://developer.mindtouch.com/Deki/...o_MIndTouch%3f
under Post: Funcions.txt:
http://developer.mindtouch.com/@api/..._Functions.txt
Following this code I've reploaced:
xmlreq32.Open "POST", "http://" & myServer & "/@api/deki/pages/=" & mypath & mypage & "/contents/?dream.in.verb=POST", False
with
xmlreq32.Open "POST", "http://" & myServer # "/@api/deki/users/=" & "UsuarioPrueba" & "/contents/?dream.in.verb=POST", False);
and where the code says
xmlreq32.send(pagetext)
pagetext contains:
<user><username>UsuarioPrueba/username><fullname>UsuarioDePrueba</fullname><email>UsuarioPrueba@somewhere.com</email><permissions.user><role>viewer</role></permissions.user></user>
The resut is a status 404 Not Found
Please sombody can help me with this
Thanks
Marta.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules