Re: SQL Server role members
From: Baisong Wei[MSFT] (v-baiwei_at_online.microsoft.com)
Date: 04/16/04
- Next message: Rashmi.K.Y [MSFT]: "RE: Constant demands"
- Previous message: Ming Cheng: "Client must have root CA certificate?"
- Maybe in reply to: Jakob Bengtsson: "Re: SQL Server role members"
- Next in thread: Jakob Bengtsson: "Re: SQL Server role members"
- Reply: Jakob Bengtsson: "Re: SQL Server role members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 16 Apr 2004 05:49:48 GMT
Hi Jakob,
Thanks for the update. Well, I take a test on my machine and did not
re-produce the problem. Could you follow my steps and try again, I log in
my computer as system administrator:
1) I create some windows account, my machine name is BAIWEI:
BAIWEI\test1
BAIWEI\test2
BAIWEI\test3
2) I create a windows group BAIWEI\testgroup, and add the above three
account in this windows group
3) In the SQL Enterprise Manager, I only add this windows group
BAIWEI\testgroup as a SQL Server login
4) Then, in SQL Enterprise Manager, in the pubs database, I add this SQL
login BAIWEI\testgroup as the database user.
5) Then in the pubs database, I created a database role 'groupmember' and
only add this database user 'BAIWEI\testgroup' in this role, all the other
settings are default.
6) I log off and again log in my computer with account 'test1'.
7) In the Query Analyzer, I run the following T-SQL:
select is_member('groupmember')
I got 1.
As IS_MEMBER() Indicates whether the current user is a member of the
specified Microsoft Windows NT group or Microsoft SQL Server role. I run
select is_member('BAIWEI\testgroup')
I got 1too.
Could you take the exact above steps and check if you got the same results?
Looking forward to your reply.
Best regards
Baisong Wei
Microsoft Online Support
----------------------------------------------------
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only. Thanks.
- Next message: Rashmi.K.Y [MSFT]: "RE: Constant demands"
- Previous message: Ming Cheng: "Client must have root CA certificate?"
- Maybe in reply to: Jakob Bengtsson: "Re: SQL Server role members"
- Next in thread: Jakob Bengtsson: "Re: SQL Server role members"
- Reply: Jakob Bengtsson: "Re: SQL Server role members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|