Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Users in Groups

 
   Database Forums (Home) -> Security RSS
Next:  How do I use OUTPUT to update a table  
Author Message
Herb

External


Since: Jun 26, 2008
Posts: 7



(Msg. 1) Posted: Wed Oct 01, 2008 11:07 am
Post subject: Users in Groups
Archived from groups: microsoft>public>sqlserver>security (more info?)

I have a Security Group on the server, and I assign SQL privileges based upon
that.

Is there a way to see who is in a security group directly through SQL 2005?

Thanks in advance
--
stullhe104

 >> Stay informed about: Users in Groups 
Back to top
Login to vote
Herb

External


Since: Jun 26, 2008
Posts: 7



(Msg. 2) Posted: Wed Oct 01, 2008 11:23 am
Post subject: RE: Users in Groups [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nevermind.

By reading Dan Guzman's reply to "Domain Logins required if member of Domain
Group?" I was able to investigate xp_loginingo and found:

EXEC xp_loginingo 'SRVR\GRP', 'members'

This works nicely.

Thanks Dan!
--
stullhe104


"Herb" wrote:

> I have a Security Group on the server, and I assign SQL privileges based upon
> that.
>
> Is there a way to see who is in a security group directly through SQL 2005?
>
> Thanks in advance
> --
> stullhe104

 >> Stay informed about: Users in Groups 
Back to top
Login to vote
Dan Guzman1

External


Since: Aug 22, 2004
Posts: 469



(Msg. 3) Posted: Thu Oct 02, 2008 7:38 pm
Post subject: Re: Users in Groups [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> By reading Dan Guzman's reply to "Domain Logins required if member of
> Domain
> Group?" I was able to investigate xp_loginingo and found:
>
> EXEC xp_loginingo 'SRVR\GRP', 'members'
>
> This works nicely.
>
> Thanks Dan!


I'm glad this helped you, Herb. BTW, it's xp_logininfo.

--
Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/
 >> Stay informed about: Users in Groups 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]