Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 How to send a message from the Sql Server of C #

Author  Topic 

duzlak
Starting Member

1 Post

Posted - 2010-02-02 : 13:43:41
Hello

How to send a message to all users with the same privileges from Sql Server at C # application.

Thank you

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2010-02-03 : 07:20:01
I'm a little unsure of your question but here's a shot anyway:

1. Create a connection to the sql server from C#
2. Run something like this: EXEC sp_helprotect @username = 'something'
3. Get the results to a recordset in your C#
4. Send them emails from C#

- Lumbago
If the facts don't fit the theory, change the facts. Albert Einstein
Go to Top of Page
   

- Advertisement -