locked
How to update user's properties like name, mail, phone no, address, designation etc in MS Outlook RRS feed

  • Question

  • User-606809145 posted

    I am working on the project to prepare a user interface screen to update user property of MS Outlook. I mean, it shud allow user to update his personal info like name, designation, company, address, phone no etc. Till now, i have made the GUI screen using asp and vbscript and have been able to fetch user's properties using ado objects. Now when i try to update the properties, it is not working. The probable reason is that being stored in active directory, it cant be updated like we do in ms sql and ms access.

    Could you please tell me how to update active directory objects as it is appearing in the given problem.

    Any help in this regard is highly appreciated.

    Thanks in anticipation. 

    Thursday, June 7, 2007 4:13 AM

All replies

  • User-525004741 posted

    You can refer to following articles.

    http://www.codeproject.com/aspnet/adsi1.asp

    http://www.15seconds.com/issue/020730.htm

    Thursday, June 7, 2007 4:59 AM
  • User-606809145 posted

    thanks for the reply. the links provided by you are based on .NET technology. Can't it be done using VBScript and ASP as I dont know .Net and have done all my work in this project using vbscript and ASP.

    If .Net is so necessary to complete this project, please tell some good book/ebook to learn . NET first.

    Thursday, June 7, 2007 5:31 AM
  • User-1343033763 posted

    Not sure if you found out how to do this, but I was searching for something similar and came across this webpage that looks like it might be helpful.

     http://www.topxml.com/conference/wrox/1999_dc/text/adamadsi.asp

    It's got a lot of good information on doing various tasks in an LDAP Directory using ADSI.  Essentially it looks like you should use the PUT command to update properties.  You might follow something like this:

    1. Find Users ADSPath by searching the directory
    2. Bind to the user using OpenDSObject and pass username and password information
    3. Update the user properties using PUT on each property (obj.PUT "attributename", "newvalue")
    4. Use SETINFO to write the values back to the directory (obj.SETINFO)

     I hope this helps.  The URL referenced in this post has more detailed information.

    Friday, June 22, 2007 8:53 AM
  • User-606809145 posted

    hey, thanks for the reply. but i have already compeleted that project a long ago using the same page you had suggested. anyways, thanks for the reply..::)

    Sunday, June 24, 2007 11:01 PM