Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-02
2
Medium Priority
?
274 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
2 Comments
 
LVL 5

Accepted Solution

by:
prashantagarw10 earned 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Loops Section Overview

885 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