Questions tagged [pfuser]

The PFUser class is a local representation of a user persisted to the Parse Data.

@interface PFUser : PFObject <PFSubclassing>

The PFUser class is a local representation of a user persisted to the Parse Data. This class is a subclass of a PFObject, and retains the same functionality of a PFObject, but also extends it with various user specific methods, like authentication, signing up, and validation uniqueness.

Many APIs responsible for linking a PFUser with Facebook or Twitter have been deprecated in favor of dedicated utilities for each social network. See PFFacebookUtils, PFTwitterUtils and PFAnonymousUtils for more information.

To find more information :

223 questions
2
votes
2 answers

How to retrieve ObjectID after PFUser login?

PFUser.logInWithUsernameInBackground(fullName.text, password: password.text) { (user: PFUser!, error: NSError!) -> Void in if user != nil { self.loginButton.enabled = false self.helpButton.enabled = false self.objectID =…
nick9999
  • 601
  • 1
  • 8
  • 22
2
votes
1 answer

Relation to User class via pointer: Error code 102

I have 2 classes: User, Books In User table I have: objectId, AuthorName In Books table I have: objectId, BookName, authorIDptr AuthorIDptr is a Pointer to User class When I run this query: var bookQuery =…
dennis
  • 143
  • 1
  • 12
2
votes
0 answers

Recovering an anonymous Parse PFUser from an iCloud device restore

On iOS, if a PFUser object remains anonymous, and the user restores the app from an iCloud backup while activating a new device, will the local PFUser data remain intact? A common scenario would be if a user loses their old device, or sells their…
cyanware
  • 163
  • 7
2
votes
1 answer

PFUser Property on subclassed PFObject

I've subclassed the PFObject with the following Class (dynamic properties, and +load & parseClassName Methods in .m file) @interface DAOpponents : PFObject @property (nonatomic, strong) PFObject* fromUser; @property (nonatomic,…
cakl
  • 390
  • 1
  • 3
  • 13
1
vote
1 answer

Link inside verification-mail not working

Could somebody explain, or better tell me how to fix this problem? The link found in the "account creation verification email" on Parse-Server (/Heroku), is not working. The relevant code in index.js is like this: var api = new ParseServer({ …
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
3 answers

PFUser.current() always returns nil

In the viewDidLoad() of the Initial View Controller in my app I run this: let currentUser = PFUser.current() if currentUser != nil{ self.performSegue(withIdentifier: "toTabs", sender: self) } currentUser is always nil. I run…
Zekep
  • 41
  • 7
1
vote
1 answer

How to link existing Parse User via FacebookUtil

I had tried a lot to achieve link existing parse user to Facebook. I'm using swift 3. But I can't find solution My Status is I have already account not linked Facebook. I want link my account via facebookUtils My app has "Sign In or SignUp…
Shawn Baek
  • 1,928
  • 3
  • 20
  • 34
1
vote
0 answers

A Parse PFUser deletes another PFUser

my app(written in swift) has login option as a user or as an owner.I have used Parse backend.I want the owner(PFUser) to be able to delete a user(another PFUser)from Parse.However, Parse doesn't allow a user to delete another user.Is there any way I…
Y.R
  • 210
  • 2
  • 13
1
vote
1 answer

How can I access value from pointer inside pointer on query with Parse in swift?

How can I access value from pointer inside pointer on query with Parse in swift? This has to do with three classes in Parse. One is called Post_Story, on is Post and one is User. When I query for Post_Story i am able to retreive pointer info from a…
b3rge
  • 4,959
  • 7
  • 23
  • 24
1
vote
1 answer

Programmatically deleting data associated with PFUser.objectID if PFUser is deleted

So in my app I am using Parse for user accounts. I have a class "Follow" with "to" and "from" fields containing user object ids, allowing users to follow each other. Now, if I delete a user somehow, the follow relation remains in tact and querying…
NotMe
  • 77
  • 11
1
vote
0 answers

Parse login with new user shows previous user info

I'm using Parse.com in my app written in Swift. I have a tab bar and make queries on almost every view controller. When I log out with a user and then log in with a different user some of the previous user's related info stays on the other view…
dcotter
  • 312
  • 6
  • 22
1
vote
1 answer

Two constraints on one key in a Parse Query

I'm using Parse and my app is written in Swift. I have a golf app that allows a user to friend other users. The users can log their golf scores and then see their golf scores and their friend's scores in a leaderboard style tableViewController. The…
dcotter
  • 312
  • 6
  • 22
1
vote
1 answer

Get PFUser reference objects

I have a subclass of PFUser with additional fields: class User: PFUser { @NSManaged var myLists: [BuyList] @NSManaged var receivedlists: [BuyList] @NSManaged var users: [User] override class func initialize() { …
Viktor
  • 1,020
  • 1
  • 9
  • 22
1
vote
1 answer

How to find Name and Lastname in Parse

Using the parse user class I am able to store username, password and email, however I wanted to also store the users name and first name so on parse.com under the core dashboard I added two more columns (firstName and LastName). func showName(){ …
user278063
  • 66
  • 1
  • 1
  • 10
1
vote
1 answer

Parse.com nested query containing doesNotMatchQuery

I have User and GroupMember Class with parse. I have a added a User pointer column in GroupMember Class and wanted to fetch all users from User Class but excluding which are present in GroupMember Class relation.
Preetam Jadakar
  • 4,479
  • 2
  • 28
  • 58
1 2
3
14 15