Click here to Skip to main content
12,406,649 members (56,399 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: SQL-server-2005 C# ASP.NET , +
Hello everyone,
I have a web application in which we track peoples on the basis of there hobbies.
Whenever someone changes his or her hobby a mail has been sent to him, admin and few other peoples on the basis of there roles.
Now I want to create a test user for whom if his/her hobbies are changed, emails to admin should not roll out. Can anyone tell me any way of doing the same without coding. Most important thing is I want to do this without coding anything. Otherwise I could have easily added a key in web config and I could have checked it from every place but I don't want this.
Please suggest some alternative way I could or can achieve.
Thanks
Posted 12-Mar-13 21:03pm
prot0col1.5K
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

just create user which have all rights

Happy Coding!
Smile | :)
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Still the mails will be rolled out if I assign new hobbies to him. I basically want to create a test user which can be used for testing purpose.
  Permalink  
Comments
Aarti Meswania 14-Mar-13 4:50am
   
use "Have a Question or Comment?" button given below the answer if you want to ask doubts about specific answer
Aarti Meswania 14-Mar-13 4:52am
   
"Still the mails will be rolled out if I assign new hobbies to him. I basically want to create a test user which can be used for testing purpose."

means? what do you want to stop mails for admin? if it is then simply check the role of user if it is admin then do not fire mail

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160730.1 | Last Updated 14 Mar 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100