You are here: Re: How Can i know how many USERS are in agroup. « MsSQL Server « IT news, forums, messages
Re: How Can i know how many USERS are in agroup.

Posted by jebuskrust@gmail.com on 01/15/07 20:42

Marcin A. Guzowski wrote:
> Erland Sommarskog wrote:
> > Before I try anything, I would like some clarification. With "groups" do
> > you mean what is normally called "roles" in SQL Server? That is grouping
> > of users within a database?
> >

Question #1:

Answer : Yes

sp_helpuser

> > Or do you mean Windows groups as in DOMAIN\OFFICEUSERS?
>
>
> Even if Arman meant roles, I'd like to ask you similar question
> according to Windows groups. Is it possible to list Windows group
> members using T-SQL? Let's assume that I'm a sysadmin, but not domain
> admin.
>
>

Question #2:

Answer: Yes, set up a linked server with your pdc server / active
directory and use open query to query this information from the linked
server.

http://www.fits-consulting.de/blog/PermaLink,guid,1e768aef-9ae5-4e60-9dad-2f2e73b00faa.aspx

> --
> Best regards,
> Marcin Guzowski
> http://guzowski.info

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация