Re: Is_Member returns 0 with SQL Server Authentication
- From: "John Bell" <jbellnewsposts@xxxxxxxxxxx>
- Date: Sat, 4 Feb 2006 14:01:53 -0000
Hi
Have you check they are a member with sp_helpgroup 'Role'
John
"AkAlan" <AkAlan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2B3DB450-C278-447C-BD95-5AF1D08D7882@xxxxxxxxxxxxxxxx
I'm using Query Analyzer to determine if a user is part of a Role. I'm
using:
SELECT IS_MEMBER('SomeRole')
It returns a 1 if I am connected using Windows Authentication but 0 if
using
SQL Server authentication with a test login.
I'm absolutely sure that both logins are members of SomeRole.
Does this make sense?
Thanks for your input.
.
- Prev by Date: Re: sp_grantlogin
- Next by Date: Re: Restricting access to one application and still use database roles?
- Previous by thread: Re: sp_grantlogin
- Next by thread: Slammer Worm Variant?
- Index(es):