Check User in Role?
From: John Rugo (jrugo_at_patmedia.net)
Date: 08/26/04
- Next message: Anith Sen: "Re: Parsing text from one column into multiple columns."
- Previous message: Heriberto: "Re: How to creat a loggin and set its password?"
- Next in thread: Partha Mandayam: "Re: Check User in Role?"
- Reply: Partha Mandayam: "Re: Check User in Role?"
- Reply: David Portas: "Re: Check User in Role?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 14:41:49 -0400
Hi All,
I have the following requirement:
I need to know if the current user is within a particular Role.
Example:
Create Procedure dbo.usp_Test_User
AS
SELECT (CASE WHEN
USER_NAME In Good_Role Then '1'
Else '0'
END AS [InRole]
GO
Any help would be great!
Thanks,
John.
- Next message: Anith Sen: "Re: Parsing text from one column into multiple columns."
- Previous message: Heriberto: "Re: How to creat a loggin and set its password?"
- Next in thread: Partha Mandayam: "Re: Check User in Role?"
- Reply: Partha Mandayam: "Re: Check User in Role?"
- Reply: David Portas: "Re: Check User in Role?"
- Messages sorted by: [ date ] [ thread ]