Re: Users Role
- From: "Rogers" <naissani@xxxxxxxxxxx>
- Date: Tue, 17 Jan 2006 16:51:20 -0500
Thanks but I need one query through which I can findout that becauase I am
creating a cursor and at the runtime I will set the rolname into
variable....
Thanks
"samsøe" <samse@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3BB59877-FADB-4BDB-B3C1-ADEB08A57E5F@xxxxxxxxxxxxxxxx
>
>
> "Rogers" wrote:
>
>> I want to findout the users and its role in specific database like that
>> user
>> has db_owner rights, I want one query that I can execute in the Query
>> Analyzer and findout the role.
>>
>> Thanks
>>
>>
>>
> SQL 2000:
> try
> exec sp_helpuser or altrenatively
> exec sp_helpuser <username>
>
> change the database context to the relevant database
.
- Follow-Ups:
- Re: Users Role
- From: Sue Hoegemeier
- Re: Users Role
- References:
- Users Role
- From: Rogers
- Users Role
- Prev by Date: Users Role
- Next by Date: Re: Users Role
- Previous by thread: Users Role
- Next by thread: Re: Users Role
- Index(es):
Relevant Pages
|
Loading