Allen:

FYI - AD-related UDFs from my library include:
 Code:
AdCreateGroup()		Creates an active directory group 
AdGroupMember()		List or Modify an AD Group's contents 
ADSIUserInfo()		Get or Set a user attribute via ADSI
ADSIUserStatus		Returns the status of a user account 
ComputerInGroup()		Checks the local computer for membership in one or more groups
GetMachineList()		Returns a list of all computers in a specified domain
GetObjectOU()		Returns the OU string for the current user (default) or computer
GetResourceBySrv()		Returns an array of SRV record data 
GetUserOU()		Returns the OU string for the current user 
GroupMember()		List or Modify a Group's contents 
GroupMembers()		Returns an array of all group members of the specified group 
InOU()			Returns a boolean if the current user or computer is a member of the named OU
LDAPQuery()		Uses ADODB to retrieve information from Active Directory.
ListNestedGroups()		Retrieves a list of all the groups an account is a member of including nested groups
SetDnsSRV()		Creates a DNS SRV record (with defaults for SWDIST)
All of these are available from the Resources / Kix UDF Lib page on my web site, and most are posted here on Korg.

There are likely several more on KORG, but these are the ones I use the most. The SetDnsSrv and GetResourceBySrv are specifically DNS UDFs but play heavily into AD for locating (and defining) resources within the network. I also have some dedicated code that I never generalized into UDFs for user management - I might take a look at those when I have time (time? what's that?).

Glenn
_________________________
Actually I am a Rocket Scientist! \:D