Sign in to follow this  
Followers 0
HighlanderSword

_AD_GetGroupMemberOf

4 posts in this topic

Hello,

The functions are Fantastic !!!!

I'm no expert in AD just a Beginner so question for you

When using the function _AD_GetGroupMemberOf, is there any way to specify what data gets returned so instead of a FQDN provide oter information like

Email, sAMAccountName,distinguishedName,displayname etc....

Just looking to get some Guidance on what would need to be done to the function to change what it returns.

I know I could parse out the samaaccoutname from the FQDN details and then do another query, however trying to reduce the amount of query's I would need to complete.

Thanks

Paul

Share this post


Link to post
Share on other sites



Glad you like the UDF :)

The function _AD_GetGroupMemberOf only returns a Fully Qualified Domain Name (FQDN).

If you need further properties just use the returned FQDN and call _AD_GetObjectProperties(<FQDN>, <List of properties you need>)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hello,

That resolved my issue.

I have a new question, I need to get the Display Name from LDAP as the name used their is differnt than what we have in AD and several

applications use the Display Name from LDAP as compared to the Display name used in AD.

How would I go about getting that ?

Thanks

Paul

Edited by HighlanderSword

Share this post


Link to post
Share on other sites

... I need to get the Display Name from LDAP as the name used their is differnt than what we have in AD and several applications use the Display Name from LDAP as compared to the Display name used in AD.

I think you're mixing up something. LDAP (Lightweight Directory Access Porotocol) is a protocol to access the Active Directory (and other directories).

So there is only one DisplayName around.

Please use _AD_GetObjectProperties on one of your users to display all properties. You should find two properties containing the different "flavors" of DisplayName.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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  
Followers 0