Solved

Easiest way to get all NT groups given an NT user name?

Posted on 2009-07-02
2
260 Views
Last Modified: 2013-12-17
What's the most straight-forward way to implement a method that obtains a collection of NT groups that a user belongs to based on a user login (ie MyDomain\pmanning18) ?

Is there a simple way to do this, preferably without having to make a call to unmanaged code or making any LDAP calls?

The platform this code is targetting is a .NET 2.0 platform (and no, 3.5 is not an option)
0
Comment
Question by:priehl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
prashantagarw10 earned 500 total points
ID: 24770578
try looking for membership provider. This is a provider which wraps around LDAP calls so you dont have to wrtie them yourself and will give you a powerful way to write the code with all information you need.

Cheers!
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question