Example #1
0
 public override void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection)
 {
     using (CrmProfiler.Measure("Profile.SetPropertyValues"))
     {
         this.RealProvider.SetPropertyValues(context, collection);
     }
 }
Example #2
0
 public override string ResetPassword(string username, string answer)
 {
     using (CrmProfiler.Measure("Membership.ResetPassword"))
     {
         return(this.RealProvider.ResetPassword(username, answer));
     }
 }
Example #3
0
 public override void UpdateUser(MembershipUser user)
 {
     using (CrmProfiler.Measure("Membership.UpdateUser"))
     {
         this.RealProvider.UpdateUser(user);
     }
 }
Example #4
0
 public override int GetNumberOfUsersOnline()
 {
     using (CrmProfiler.Measure("Membership.GetNumberOfUsersOnline"))
     {
         return(this.RealProvider.GetNumberOfUsersOnline());
     }
 }
Example #5
0
 public override MembershipUser GetUser(string username, bool userIsOnline)
 {
     using (CrmProfiler.Measure("Membership.GetUser (by user name)"))
     {
         return(this.RealProvider.GetUser(username, userIsOnline));
     }
 }
Example #6
0
 public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
 {
     using (CrmProfiler.Measure("Membership.CreateUser"))
     {
         return(this.RealProvider.CreateUser(username, password, email, passwordQuestion, passwordAnswer, isApproved, providerUserKey, out status));
     }
 }
Example #7
0
 public override MembershipUserCollection FindUsersByName(string userNameToMatch, int pageIndex, int pageSize, out int totalRecords)
 {
     using (CrmProfiler.Measure("Membership.FindUsersByName"))
     {
         return(this.RealProvider.FindUsersByName(userNameToMatch, pageIndex, pageSize, out totalRecords));
     }
 }
 public override void RemoveUsersFromRoles(string[] userNames, string[] roleNames)
 {
     using (CrmProfiler.Measure("Role.RemoveUsersFromRoles"))
     {
         this.RealProvider.RemoveUsersFromRoles(userNames, roleNames);
     }
 }
 public override bool RoleExists(string roleName)
 {
     using (CrmProfiler.Measure("Role.RoleExists"))
     {
         return(this.RealProvider.RoleExists(roleName));
     }
 }
Example #10
0
 public override ProfileInfoCollection FindProfilesByUserName(ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, out int totalRecords)
 {
     using (CrmProfiler.Measure("Profile.FindProfilesByUserName"))
     {
         return(this.RealProvider.FindProfilesByUserName(authenticationOption, usernameToMatch, pageIndex, pageSize, out totalRecords));
     }
 }
 public override bool IsUserInRole(string username, string roleName)
 {
     using (CrmProfiler.Measure("Role.IsUserInRole"))
     {
         return(this.RealProvider.IsUserInRole(username, roleName));
     }
 }
Example #12
0
 public override int DeleteProfiles(string[] usernames)
 {
     using (CrmProfiler.Measure("Profile.DeleteProfiles (by user names)"))
     {
         return(this.RealProvider.DeleteProfiles(usernames));
     }
 }
Example #13
0
 public override int DeleteProfiles(ProfileInfoCollection profiles)
 {
     using (CrmProfiler.Measure("Profile.DeleteProfiles"))
     {
         return(this.RealProvider.DeleteProfiles(profiles));
     }
 }
Example #14
0
 public override int DeleteInactiveProfiles(ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate)
 {
     using (CrmProfiler.Measure("Profile.DeleteInactiveProfiles"))
     {
         return(this.RealProvider.DeleteInactiveProfiles(authenticationOption, userInactiveSinceDate));
     }
 }
Example #15
0
 public override bool ChangePassword(string username, string oldPassword, string newPassword)
 {
     using (CrmProfiler.Measure("Membership.ChangePassword"))
     {
         return(this.RealProvider.ChangePassword(username, oldPassword, newPassword));
     }
 }
 public override void AddUsersToRoles(string[] userNames, string[] roleNames)
 {
     using (CrmProfiler.Measure("Role.AddUsersToRoles"))
     {
         this.RealProvider.AddUsersToRoles(userNames, roleNames);
     }
 }
Example #17
0
 public override bool ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer)
 {
     using (CrmProfiler.Measure("Membership.ChangePasswordQuestionAndAnswer"))
     {
         return(this.RealProvider.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer));
     }
 }
 public override void CreateRole(string roleName)
 {
     using (CrmProfiler.Measure("Role.CreateRole"))
     {
         this.RealProvider.CreateRole(roleName);
     }
 }
Example #19
0
 public override bool DeleteUser(string userName, bool deleteAllRelatedData)
 {
     using (CrmProfiler.Measure("Membership.DeleteUser"))
     {
         return(this.RealProvider.DeleteUser(userName, deleteAllRelatedData));
     }
 }
 public override bool DeleteRole(string roleName, bool throwOnPopulatedRole)
 {
     using (CrmProfiler.Measure("Role.DeleteRole"))
     {
         return(this.RealProvider.DeleteRole(roleName, throwOnPopulatedRole));
     }
 }
Example #21
0
 public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords)
 {
     using (CrmProfiler.Measure("Membership.GetAllUsers"))
     {
         return(this.RealProvider.GetAllUsers(pageIndex, pageSize, out totalRecords));
     }
 }
 public override string[] FindUsersInRole(string roleName, string usernameToMatch)
 {
     using (CrmProfiler.Measure("Role.FindUsersInRole"))
     {
         return(this.RealProvider.FindUsersInRole(roleName, usernameToMatch));
     }
 }
Example #23
0
 public override MembershipUser GetUser(object providerUserKey, bool userIsOnline)
 {
     using (CrmProfiler.Measure("Membership.GetUser (by user key)"))
     {
         return(this.RealProvider.GetUser(providerUserKey, userIsOnline));
     }
 }
 public override string[] GetAllRoles()
 {
     using (CrmProfiler.Measure("Role.GetAllRoles"))
     {
         return(this.RealProvider.GetAllRoles());
     }
 }
Example #25
0
 public override string GetUserNameByEmail(string email)
 {
     using (CrmProfiler.Measure("Membership.GetUserNameByEmail"))
     {
         return(this.RealProvider.GetUserNameByEmail(email));
     }
 }
 public override string[] GetRolesForUser(string username)
 {
     using (CrmProfiler.Measure("Role.GetRolesForUser"))
     {
         return(this.RealProvider.GetRolesForUser(username));
     }
 }
Example #27
0
 public override bool UnlockUser(string userName)
 {
     using (CrmProfiler.Measure("Membership.UnlockUser"))
     {
         return(this.RealProvider.UnlockUser(userName));
     }
 }
 public override string[] GetUsersInRole(string roleName)
 {
     using (CrmProfiler.Measure("Role.GetUsersInRole"))
     {
         return(this.RealProvider.GetUsersInRole(roleName));
     }
 }
Example #29
0
 public override bool ValidateUser(string username, string password)
 {
     using (CrmProfiler.Measure("Membership.ValidateUser"))
     {
         return(this.RealProvider.ValidateUser(username, password));
     }
 }
Example #30
0
 public override SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection)
 {
     using (CrmProfiler.Measure("Profile.GetPropertyValues"))
     {
         return(this.RealProvider.GetPropertyValues(context, collection));
     }
 }