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:

Code:
Dim oUser As Object
    
Set oUser = GetObject("WinNT://domain/UserName")

MsgBox oUser.Fullname
What if I essentially wanted to do

Code:
Set oUser = GetObject("WinNT://domain/Full Name")
?

Obviously that doesn't work, but can anyone tell me the format that will work? Thanks