How to check whether the username is valid or not?

Certified Associate Developer

Hello,

Is there a way to check whether the user name is valid or invalid?

  Discussion posts and replies are publicly visible

Parents
  • Hi viveku,

    I think you can be a bit more clear on your question because isusernametaken() function determines whether an user account with the username is already present or not .It checks against both active and deactivate user accounts. I didnt get in your case that whether you want to validate the username or want to check the existence of the username. It will be helpful if you provide more inputs on this.

    Thanks,
    ravalik
Reply
  • Hi viveku,

    I think you can be a bit more clear on your question because isusernametaken() function determines whether an user account with the username is already present or not .It checks against both active and deactivate user accounts. I didnt get in your case that whether you want to validate the username or want to check the existence of the username. It will be helpful if you provide more inputs on this.

    Thanks,
    ravalik
Children
No Data