By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,760 Members | 1,630 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,760 IT Pros & Developers. It's quick & easy.

Check User Group in Active Directory

P: 37
Check the User is the Member of One Group using Active Directory in

System.DirectoryServices.AccountManagement.Princip al.IsMemberOf(System.DirectoryServices.AccountMana gement.GroupPrincipal)

How to find the "System.DirectoryServices.AccountManagement.GroupP rincipal"?
Oct 6 '09 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,872
The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?)
As stated, did you add the assembly reference?

Oct 7 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.