Example #1
0
 /// <summary>
 /// Removes a user from the membership data source.
 /// </summary>
 /// <param name="userName">The name of the user to delete.</param>
 /// <returns><c>true</c> if the user was successfully deleted; otherwise, <c>false</c>.</returns>
 public static bool DeleteUser(string userName)
 {
     return(MembershipGsp.DeleteUser(userName, true));
 }