Title: External User Validation
Last modified: August 22, 2016

---

# External User Validation

 *  [ah0265](https://wordpress.org/support/users/ah0265/)
 * (@ah0265)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/)
 * I want to use the access control features of s2member but I want to manage the
   creation of the user accounts myself. Here is why:
 * I’m porting my Genealogy Societies web site from Joomla to WP. We use another
   platform (Z2 Systems Neon) to manager our user accounts. They provide an API 
   that can be used to verify if a given User ID and Password are valid.
 * I use this API in my current Joomla site to determine whether or not a user is
   a current member or not. If they are not, I want them to go to our Neon system(
   which is also used for a number of other functions, which is why I want to let
   it be the master source to validate users) to handle it (usually renew their 
   membership).
 * I want to do the same thing using s2member and am looking for a little help to
   understand its login process so I can (hopefully) break into it and manage things
   my way.
 * Basically, when somebody enters a user ID and Password in s2member I want to 
   trap the request, make the call to my Neon API and (if they are really a current
   member) create or update the record in my WP_Users table and then let things 
   continue normally. If my API call indicates that they are not a valid member 
   I want to delete or disable their record in the WP_Users table before letting
   things go on.
 * I am an OK PHP programmer – I wrote the Joomla plugin and got it working in that
   environment… I’m just looking for a little help understanding how the login flow
   goes here in s2member-land.
 * Thanks in advance!
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/#post-5673282)
 * > when somebody enters a user ID and Password in s2member
 * Users don’t enter those details in s2Member. They enter them in WordPress: s2
   does not change the login process.
 *  [krumch](https://wordpress.org/support/users/krumch/)
 * (@krumch)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/#post-5673411)
 * I would look for a hook in login WP functions…
 *  Thread Starter [ah0265](https://wordpress.org/support/users/ah0265/)
 * (@ah0265)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/#post-5673429)
 * OK, but s2Members appears to be keeping information about each user someplace
   other than the users table. I have found s2Members methods for reading this information:
   are there methods that will allow me to write/update information about a user?(
   This would allow me to create an entry for a new user in the users table and 
   then let s2Members know what access level they should have).
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/#post-5673432)
 * The other table s2M uses is WP’s standard usermeta table.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘External User Validation’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Joomla](https://wordpress.org/support/topic-tag/joomla/)

 * 4 replies
 * 3 participants
 * Last reply from: [KTS915](https://wordpress.org/support/users/kts915/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/external-user-validation/#post-5673432)
 * Status: not resolved