AD Distinguished name for a user

(imported topic written by jpeppers91)

Is there a property that would pull the AD DN patch for a user?

(imported comment written by jpeppers91)

path not patch.

(imported comment written by SystemAdmin)

You could create one using:

following text of first “” of (preceding text of first “” of (lines of file ((((parent folder of client) as string) & “__BESData__Global\ADCache”) & (name whose (it as string contains (name of current user as lowercase)) of files of folder (((parent folder of client) as string) & “__BESData__Global\ADCache”) as string))))

(imported comment written by SystemAdmin)

Do the active directory inspectors not provide enough for you?

If memory serves me correctly either of these should work (if there is an AD user logged in):

distinguished name of (logged on users whose (name of it = name of current user) of active directory)
distinguished name of active directory user of user of current user