.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Setup alerts for multiple users

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#


I am trying to figure out how to manage alerts for users of a Sharepoint site collection...

Essentially, we have a site collection - one main site and many subsites. Each subsite relates to a specific customer account. We have assigned various salespersons access to the sites based on what customer account they are assigned to. We are just using the site visitors group for this. In each one of these (sub)sites, we have 5 document libraries. What I would like to do is find an easy way where I can setup alerts so that if anything changes in any of the document libraries in subsite "A", that all users in the Site Visitors group will receive an alert (and so on for all of the sites). While we can certainly instruct the salespersons to add their own alerts for each of the libraries in each of the sites they have access to, this is perceived as very cumbersome.

Does anyone know of a way to manage (add/change/delete) alerts for users at a site level?

Thanks in advance...


View Complete Post

More Related Resource Links

Cannot create email alerts for multiple users

Hello, I created an email alert for a document in a library. In the "Send Alerts To" box, I added multiple user names separated by semicolons and saved the alert. However, when I open the alert again, only my user name appears and the additional user names are gone. Why is this happening and how do I fix this problem?  Thank you in advance.

how to write a stored proc to prevent multiple users in uploading the reports at a time? plsss help



I wanted to know how to prevent more than one user from uploading the report at a time .I am new to .net ,plss help with the code that would be great.Details are below:

This is a Windos based app written in c# . When User A  clicks Upload option on  one server  from the menu  to upload the files  and at the same time when User B clicks Upload option on different server , User B should be alerted a message saying "User A's uploading is in progress,pls wait" . How to achieve this, plsss help with the code.. I am thinking this logic should be kept in a stored proc, How do I write that proc? plss help


Thanks in advance!

Users not receiving alerts


At some point over the last 2 weeks, the alert functionality in our MOSS 2007 environment stopped working.  Users will receive the "You have setup a new alert" email when configuring a new Alert, but not any actual alerts when an item is added/changed.  I investigated the Timer Service on the front end web server and noticed it was Stopped.  I restarted the Service and some of the users received upwards of 200 backlogged alerts.

I can understand why the user received so many alerts, these would be the alerts that SHOULD have been sent over the last 2 weeks.  I just wanted to make sure that this is normal behavior.  If the service fails, then the alert emails are set to a type of "pending" status until the service is restarted?  Is this accurate or am I misunderstanding something.

E-Mail Alerts for users on Task List


Is there any way to send e-mail alerts to a specific user wihtout assigning them the task or having them subscribe to the list.

It's a Task List on WSS 3 on Win2k3 Enterprise'


help for autheniticating users in multiple subdomains

Hi All,I have a main website say www.main.com which is developed in asp.net. We have used forms authetications here.Now the thing is I have a no of subdomains on the same server say domain1.main.com, domain2.main.com, domain3.main.com etc.I had put some functionality there. What i want is when i redirect my users to the subdomains user has to log in again. what are the method where i can preserve the users state in my subdomains also.Thanks

Change password for FBA users in claims setup not working as expected

Hi, I am trying to add a standard asp:changepassword control for external users. In the previous 2007 sharepoint environment this control was working "out of the box". I am pretty sure what is wrong as well,- but not sure how to fix it. A workaround that makes me able to change password is as follows: in the asp - control, I have added the option DisplayUserName="true" Then in the actual web-page, i can see that my username is: 0#.f|acaspnetsqlmembershipprovider|xxxxxx and not xxxxxx as i would excpect, as i use xxxxxx to log in. Editing the username to just xxxxxx makes the changing of password work, but this solution is not really nice to deploy to the normal end-users.. Any suggestion on how to make the username right? I've tried to set the username using the option UserName="<%=SPContext.Current.Web.CurrentUser.LoginName%>", but it does not seem to evaluate..  

multiple instances of report manager VS multiple users

Hello, I want multiple users to access same report or different reports through report manager for a report server. Will the scenario of opening multiple windows of report manager on same machine and execute reports from all windows simultaneously mean same as multiple users accessing the reports at the same time? If not, then how should I generate the scenario of multiple users? Regards.

MOSS 2007 Alerts - Multiple Emails Issue

I've been experiencing a strange issue with SharePoint alerts that seem to happen randomly.  I've setup a daily alert on a custom list that sends a summary of all changes at 5pm, but on some days I'll receive more than 1 summary email (150+ this past Tuesday).  Each email contains different information and the total number of emails is random along with the number of records in each email.  Some days the summary comes in one email and others it comes in multiple.  This is happening on our production server and I haven't been able to recreate the issue in development.  Does anyone have any thoughts as to how a daily alert would get split up into several emails?We have 1 MOSS 2007 app server, 1 index server and 1 SQL 2005 database server.

Issue with Alerts with multiple Managed MetaData fields?

i'm seeing an issue in SharePoint 2010 with alerts.  If a list has more than 1 Managed MetaData columns, alerts stop working.  If I take it down to only one managed metadata column, they start working again.  Is this a known issue?  I'm seeing it in multiple sites/mulitple users.

Setup Users to change domain passwords via sharepoint

Is there no way to nativally setup users to change their domain password or to notify them that the password will expire? The only way is to code a web site, is this a feature for a newer verson?  

add multiple users to sproleassingment


Hi there,

I try to set reading permissions on a list item to sproleassignment for multiple users. But it onyl works for one, as I can see from the permissions which are set afterwards... any ideas?

 Here is my code

 //Auslesen der aktuellen Userdaten
            SPListItem newestItem = workflowProperties.Item;
            //users = Liste der Personen, die Leserechte bekommen
            String[] users = findeVertreter();

            SPList list = currentWeb.Lists["Standardseiten Betreuer"];

            SPListItemCollection itemColl = list.Items;
            SPListItem listItem = itemColl[itemColl.Count - 1];

            //Vererbung aussetzen


Can multiple users connect simulateously to an offline cube created by SSAS 2008?


We have created an offline cube on a network drive from SSAS 2008 and users are able to successfully access this serially using the Excel 2003 cube add-in or Excel 2007, in concert with version 10 driver, but when a user is already connected, the second attempt to connect will get the message :

Connection to <filename> server, <dbname> database, <cubename> cube failed.  OLAP Server error: The following system error occurred:  The process cannot access the file because it is being used by another process. ., File system error: An error occurred while opening the '<filename>' local cube file.

This is regardless of whether users connect specifying read-only and we have found it impossible to connect to a cube if the file has the read-only attribute set.

Is there any way to solve this without users taking copies onto their workstations?



Multiple users & arrays?


On my website, the user can enter in information in multiple textboxes and click an "Add" button, which then adds the information to an array as 1 project. When they click a "Finish" button, it takes them to a Review page and reviews all of the seperate projects they have submitted.

When we tested this website out, at one point I got to the review page and saw information that I never submitted. I'm assuming it was submitted by the other person who was testing the page at the same time I was testing the page. 

My question is, if multiple users are on my page at the same time submitting information, is it possible for the information to be added to someone else's array ? Can somebody's information overlap another person's information?

Here's my array:

Option Strict On
Imports System.IO
Imports Microsoft.VisualBasic

Public Class clsBarn
    Structure Barn
        Dim BarnNo As String
        Dim FlockNo As String
        Dim Birds As Integer
        Dim WkMortF As Integer
        Dim WkMortM As Integer
        Dim BirdsAdded As Integer
        Dim AvgHighTemp As Integer
        Dim AvgLowTemp As Integer
        Dim BodyWeight As Decimal
        Dim BirdsUniAmt As Decimal
        Dim GalWtr As Integer
        Dim LightHours As D

How to Bulk load multiple users into aspnetdb


Hi there,

I'm using VWD 2010 asp.net 4.0 and SQL Server 2008 Express

I created a website that uses security with aspnetdb configuration

now I have hundred users that need to access this website

And I don't want manually insert them one by one

Is there any way (T SQL Stored Proc or ASP.NET VB code) to automated this bulk insert?


Oded Dror 

Adding multiple users to a document library column by web service


I'm attempting to create some VB code to call a SharePoint Web Service to add a document and associated metadata to a document library. I can successfully add metadata to a text column but I'm having some problems getting multiple entries into a column which is specified to take multiple users (and does so when they are added manually) although I can get a single user in using the following snippet.

Dim info2 As MySharePoint.FieldInformation = New MySharePoint.FieldInformation()
info2.DisplayName = "Authors"
info2.InternalName = "Authors"
info2.Type = MySharePoint.FieldType.User
info2.Value = "1"

I'm hoping that someone will be able to advise me of the approach or syntax necessary to add multiple users to this Authors column e.g. Users 1 and 74. I note that

info2.Value = "1,74" or info2.Value = "1;74"

don't appear to work.

How do I get all the users are set for alerts to a document library using C#.net


Hi All,

I want to get all the users set for alerts to a SharePoint document library using C# code. Please guide me to do this. I would appreciate your help.

For Example: If my site collection having 5 sites. I want to get user names of a document library of one site.



SharePoint 2007 alerts are undeliverable to some users !


We have MOSS 2007 environment, there we have some alerts setup for some users. The problem is that there are some user to whom alerts are undeliverable and we receive failure messege in specified incomming mailbox. Most of these users are repeated. I have checked the profile of these users and found they are imported perfectly in sharepoint and these users are active users.

Thanks in advance

Supriya Ghosh


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend