Re: Get role for any given user name
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 11/03/05
- Next message: Sam Jost: "giving strong name to managed c++ in visual studio 2005"
- Previous message: ueli: "App with COM components on network share"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Get role for any given user name"
- Maybe reply: Joe Kaplan \(MVP - ADSI\): "Re: Get role for any given user name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 03 Nov 2005 14:22:20 -0800
Hello prem,
If you are on Windows Server 2003 and in a 2003 functionality domain - you
can use Protocol Transition -
have a look at the ctor of WindowsIdentity that takes a string.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Hello Everybody,
>
> I wanted to check the role of a given user name. I looked into lots of
> online stuffs but all of them does it for the Current Principle. I
> wanted to find the if a given user name belongs to Administrator
> group. How can I do this ? Also, I wanted to do this without providing
> the user password.
>
> Thanks in advance.
> -Prem
- Next message: Sam Jost: "giving strong name to managed c++ in visual studio 2005"
- Previous message: ueli: "App with COM components on network share"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Get role for any given user name"
- Maybe reply: Joe Kaplan \(MVP - ADSI\): "Re: Get role for any given user name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|