|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Finding out the users in a group. VB.NET 2005I 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 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. -- Show quoteGregory 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 > > > 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 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 >> >> >> 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 >>> >>> >>> > > |
|||||||||||||||||||||||