Jump to content
Sign in to follow this  
Syed23

Finding user name for the particular user ID

Recommended Posts

Syed23

Hi Friends,

Once again i struck with AD Functionalities. Here now i am facing problem that i am unable to find the owner name for the specific ID. i tried to use most of the relevent functions which ever mentioned in AD.au3. but i am unable to find the exact funtion. Could you please some one help me on this?

#include <AD.au3>

; Open Connection to the Active Directory

_AD_Open()

; Get the Fully Qualified Domain Name (FQDN) for the current user

$sFQDN_User = _AD_SamAccountNameToFQDN(@UserName)

$cp = _AD_FQDNToDisplayname($sFQDN_User)

MsgBox(0,"",$cp)

_AD_Close()

Edited by Syed23

Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font]

Share this post


Link to post
Share on other sites
wraithdu

This is not a support form. Post in the correct forum please.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×