Windows Vista Forums

Re: Comparison of two AD user queries
  1. #1


    gimme_this_gimme_that Guest

    Re: Comparison of two AD user queries

    >I have to believe

    > that binding to the object with the DN is faster still, since there is no
    > real searching involved.
    Would fetching with the GUID be faster than searching on DN - or about
    the same?



      My System SpecsSystem Spec

  2. #2


    gimme_this_gimme_that Guest

    Re: Comparison of two AD user queries


    >I believe all attributes (except operational ones) are loaded into the local property cache.
    Which attributes are operational attributes?

      My System SpecsSystem Spec

  3. #3


    Richard Mueller [MVP] Guest

    Re: Comparison of two AD user queries


    <gimme_this_gimme_that@xxxxxx> wrote in message
    news:c37803b3-5332-4020-a43f-5c2825b134f1@xxxxxx

    >

    >>I believe all attributes (except operational ones) are loaded into the
    >>local property cache.
    >
    > Which attributes are operational attributes?
    Operational attributes, also called constructed, are ones where the values
    are not saved in active directory. Instead, they are calculated on request
    from other attributes. There are about 36. For example: allowedAttributes,
    canonicalName, createTimeStamp, modifyTimeStamp, primaryGroupToken,
    tokenGroups.

    To retrieve the value of an operational attribute use the GetInfoEx and
    GetEx methods of the user object. For example:

    Set objUser = GetObject("LDAP://cn=Jim Smith,ou=West,dc=MyDomain,dc=com")
    objUser.GetInfoEx Array("canonicalName"), 0
    strName = objUser.GetEx("canonicalName")
    Wscript.Echo strName

    The GetInfoEx method makes AD calculate the value. ADO also makes AD
    calculate the value, so nothing extra is required when you use ADO.

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --



      My System SpecsSystem Spec

Re: Comparison of two AD user queries problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do work web DNS queries when there is no ISP DNS given Ronald SBS Server 2 04 Feb 2010
User Group Virtualization ESX/Hyper-V comparison and demonstration Dennis29 Virtual Server 0 18 Aug 2008
SQL Queries John Bottoms PowerShell 1 28 Jan 2008
PowerShell User Guide - Comparison Operators - error? =?Utf-8?B?RGF2aWQgSyBBbGxlbg==?= PowerShell 1 28 Aug 2006