Example #1
0
 public void DeleteProfile(UserProfile profile)
 {
     UserProfileManager.DeleteProfile(profile);
 }
Example #2
0
 public void SaveUserProfile(UserProfile profile)
 {
     UserProfileManager.SaveUserProfile(profile);
     ClearUserFromCache();
 }
Example #3
0
 public ICollection <UserProfile> FetchAllProfiles(Boolean eager)
 {
     return(UserProfileManager.FetchAllProfiles(eager));
 }
Example #4
0
 public static void InitSecurity()
 {
     RoleManager.LoadActiveRoles();
     UserProfileManager.FetchAllProfiles(true);
 }