SqlRoleProvider.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. //
  2. // System.Web.Security.SqlRoleProvider
  3. //
  4. // Authors:
  5. // Ben Maurer ([email protected])
  6. //
  7. // (C) 2003 Ben Maurer
  8. //
  9. #if NET_1_2
  10. using System.Collections;
  11. using System.Collections.Specialized;
  12. using System.Text;
  13. namespace System.Web.Security {
  14. public class SqlRoleProvider {
  15. [MonoTODO]
  16. public void AddUsersToRoles (string [] usernames, string [] rolenames)
  17. {
  18. throw new NotImplementedException ();
  19. }
  20. [MonoTODO]
  21. public void CreateRole (string rolename)
  22. {
  23. throw new NotImplementedException ();
  24. }
  25. [MonoTODO]
  26. public void DeleteRole (string rolename)
  27. {
  28. throw new NotImplementedException ();
  29. }
  30. [MonoTODO]
  31. public string [] GetAllRoles ()
  32. {
  33. throw new NotImplementedException ();
  34. }
  35. [MonoTODO]
  36. public string [] GetRolesForUser (string username)
  37. {
  38. throw new NotImplementedException ();
  39. }
  40. [MonoTODO]
  41. public string [] GetUsersInRole (string rolename)
  42. {
  43. throw new NotImplementedException ();
  44. }
  45. [MonoTODO]
  46. public virtual void Initialize (string name, NameValueCollection config)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public bool IsUserInRole (string username, string rolename)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. public void RemoveUsersFromRoles (string [] usernames, string [] rolenames)
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. [MonoTODO]
  61. public bool RoleExists (string rolename)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. [MonoTODO]
  66. public string ApplicationName {
  67. get { throw new NotImplementedException (); }
  68. set { throw new NotImplementedException (); }
  69. }
  70. [MonoTODO]
  71. public virtual string Description {
  72. get { throw new NotImplementedException (); }
  73. }
  74. [MonoTODO]
  75. public virtual string Name {
  76. get { throw new NotImplementedException (); }
  77. }
  78. }
  79. }
  80. #endif