Home All Groups Group Topic Archive Search About

Finding out the users in a group. VB.NET 2005

Author
26 Jan 2006 11:30 AM
Mike Grace
I need to get a list of users that are in a group from within an
application.

Does anyone know how to do this and is it subject to the rights that the
currently logged on user will have?

Regards

Mike

Author
26 Jan 2006 4:20 PM
Cowboy (Gregory A. Beamer) - MVP
This depends on what you mean. If you mean, can you query Active Directory
for a user's group membership, the answer is yes.
http://www.wwwcoder.com/main/parentid/272/site/5946/68/default.aspx

If you are talking custom groups/roles in an application, you will have to
roll that yourself.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


Show quote
"Mike Grace" wrote:

> I need to get a list of users that are in a group from within an
> application.
>
> Does anyone know how to do this and is it subject to the rights that the
> currently logged on user will have?
>
> Regards
>
> Mike
>
>
>
Author
26 Jan 2006 7:08 PM
Naveen
Keith brown has book on The .NET Developer's Guide to Windows Security
and he talks  groups over here. I dont know if this is what your are
looking for
http://pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsAGroup.html
Author
27 Jan 2006 8:50 AM
Mike Grace
No,

I mean that I need to get a lists of users in a specified group.

Regards

Mike

Show quote
"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM> wrote
in message news:A0594C67-EB29-4682-8E61-773F1CA235A5@microsoft.com...
> This depends on what you mean. If you mean, can you query Active Directory
> for a user's group membership, the answer is yes.
> http://www.wwwcoder.com/main/parentid/272/site/5946/68/default.aspx
>
> If you are talking custom groups/roles in an application, you will have to
> roll that yourself.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
>
> "Mike Grace" wrote:
>
>> I need to get a list of users that are in a group from within an
>> application.
>>
>> Does anyone know how to do this and is it subject to the rights that the
>> currently logged on user will have?
>>
>> Regards
>>
>> Mike
>>
>>
>>
Author
27 Jan 2006 9:07 AM
Mike Grace
It OK. I have found an article on www.codeproject.com

Regards

Mike

Show quote
"Mike Grace" <nospammike.grace@xxx.xxx> wrote in message
news:%23tzdE7xIGHA.2704@TK2MSFTNGP15.phx.gbl...
> No,
>
> I mean that I need to get a lists of users in a specified group.
>
> Regards
>
> Mike
>
> "Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM>
> wrote in message
> news:A0594C67-EB29-4682-8E61-773F1CA235A5@microsoft.com...
>> This depends on what you mean. If you mean, can you query Active
>> Directory
>> for a user's group membership, the answer is yes.
>> http://www.wwwcoder.com/main/parentid/272/site/5946/68/default.aspx
>>
>> If you are talking custom groups/roles in an application, you will have
>> to
>> roll that yourself.
>>
>> --
>> Gregory A. Beamer
>> MVP; MCP: +I, SE, SD, DBA
>>
>> ***************************
>> Think Outside the Box!
>> ***************************
>>
>>
>> "Mike Grace" wrote:
>>
>>> I need to get a list of users that are in a group from within an
>>> application.
>>>
>>> Does anyone know how to do this and is it subject to the rights that the
>>> currently logged on user will have?
>>>
>>> Regards
>>>
>>> Mike
>>>
>>>
>>>
>
>

AddThis Social Bookmark Button