This is probably a simple question.. but I can't find how to look up a user in AD by their full name and return their ID. I can only find the reverse, such as:
What if I essentially wanted to doCode:Dim oUser As Object Set oUser = GetObject("WinNT://domain/UserName") MsgBox oUser.Fullname
?Code:Set oUser = GetObject("WinNT://domain/Full Name")
Obviously that doesn't work, but can anyone tell me the format that will work? Thanks![]()


Reply With Quote
