Set UTC Coded Time in ADAM

Discussion in 'Active Directory' started by Larry Pinsky, Jul 7, 2005.

  1. Larry Pinsky

    Larry Pinsky Guest

    I hope this is a really easy question. I created an attribute in ADAM of a
    type UTC Coded Time. I am able to set the value of this attribute from
    within ADSI Edit. I am able to retrieve the attribute value using VB.NET
    (objAdam.Properties("infonet-lastlogin").Value()). I am not able to set the
    attribute's value using VB.NET. Does anyone know what code I would use to do

    I would have assumed"infoNet-LastLogin").value = xxx
    would have worked. It may, and perhaps, I just don't know what the xxx
    should be.

    Larry Pinsky, Jul 7, 2005
    1. Advertisements

  2. If it is a standard UTC attribute syntax, you should use a .NET DateTime
    object for this.

    Joe K.
    Joe Kaplan \(MVP - ADSI\), Jul 13, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.