How do I signup users using PFObject instead of PFUsers()
<p>I have created a PFObject called UserDataTable which stores information like username, password, Name, emailID, age, city, state, etc. of the user.</p>

<p>I am not sure how to authenticate the user to server using PFObject but can do so using PFUsers(). I know that PFUsers is a sub-class of PFObject so there must be a way to access those properties using my PFObject.</p>

<p>Can anyone help me out with the same. I am using SWIFT for coding.</p>

<pre><code>let UserDataBase = PFObject(className: "UserDataBase") 
UserDataBase["userId"] = "aamirdbx"
UserDataBase["userName"] = "Aamir Bilal"
UserDataBase["userPassword"] = "pass"
UserDataBase["userEmailId"] = "aamirdbx@gmail.com"
</code></pre>

<p>I would like to Sign In using information in this UserDataBase which is a PFObject.</p>

<p>I know how we can do the same using PFUser() but I want to avoid using a bunch of different Objects.</p>