/// <summary> /// Processes the activation key for user account creation. /// </summary> private void ProcessActivationKey() { var key = Utilities.GetQueryStringGuid("activationKey"); if (key == null) { return; } switch (UserUtilities.CheckActivateUser((Guid)key)) { case -1: { WriteFeedBackMaster(FeedbackType.Warning, "Invalid activation link."); } break; case 0: { WriteFeedBackMaster(FeedbackType.Warning, "User is already activate."); } break; case 1: { WriteFeedBackMaster(FeedbackType.Success, "Account activated successfully you may now login."); } break; } }