Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Returing a user's groups from Active Directory Post Reply Post New Topic
Author Message
sin.e.bouli
Newbie
Newbie


Joined: 17 Jul 2008
Location: Ireland
Online Status: Offline
Posts: 1
Quote sin.e.bouli Replybullet Topic: Returing a user's groups from Active Directory
    Posted: 17 Jul 2008 at 7:42am
Hi there,

I have recently connected Crystal Reports XI to AD 2003. I am able to pull back a user's data like sAMAccountName, givenName etc etc.

However i am unable to pull back the groups that a user is assigned to. I am thinking this might be because they have multiple groups assigned to them?

Here is the code i am using to select and return the data for name etc:

SELECT sAMAccountName, givenName, sapuserName FROM 'LDAP://OU=User Accounts,DC=company,DC=com' WHERE objectClass='user' AND objectCategory='Person'

Surely this is possible in Crystal?

Thanks,
Bernard.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.