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
0
votes
1 answer

Parse.com PFUser Query based on results from PFObject query

I have a chatroom class containing users. I can successfully query that class and return only specific PFUsers. // get all room IDs associated with current user var outerRoomQuery = PFQuery(className:Parse.CHATROOM_CLASS_NAME) …
elprl
  • 1,940
  • 25
  • 36
0
votes
2 answers

How can I show a PFUser array of Parse in a UITableVIew in iOS?

I have tried following code so far: PFGeoPoint * myGeoPoint = [PFUser currentUser][@"coordinates"]; // Your geoPoint PFQuery *query = [PFUser query]; [query includeKey:@"User"]; [query whereKey:@"coordinates" nearGeoPoint:myGeoPoint…
Sushrita
  • 725
  • 10
  • 29
0
votes
0 answers

The significance of the Bool value of PFUser signUpInBackgroundWithBlock

I am wondering what is the significance of the succeeded Bool value in the function block? As I have seen sample codes from parse ignores it and only check if error is nil or not. If the bool value is not required, why is it there in the first…
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
0
votes
1 answer

How to Create a Parse.com Login Form in Wordpress Website?

I'm Developing a Parse iOS app and i would like to have a Website Version ! In My iOS app i can Register PFUsers. I would like to do the same for my Website but i don't know how to link Parse Login Form with my Wordpress Website. Does Anyone know…
Kingofmit
  • 2,066
  • 1
  • 17
  • 22
0
votes
1 answer

Parse PFUserSession Token Error

I am making an app in which I need to use [PFUser enableRevocableSessionInBackground] However, when I add this to my app delegate, it says there is no know class method. Am I forgetting to import a header?
user2579706
  • 79
  • 1
  • 9
0
votes
1 answer

Get length of current user's password from Parse?

Parse states they do not return passwords in plain text. That's great, but is there a way to get the length of the password? I would like to show the asterisk or bullet representation of their password in the user interface. If I can get the length…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

Android Parse.com android allow to get data from table but not for update

package symca.gescoe.com.sampleparseapp.payment_task; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import…
0
votes
1 answer

Update PFUser from server

I have one PFUser logged in on two iOS devices. When each app starts, I need to download PFUser data from server to keep latest data (made on the second device). Is there any method to do that? Because in documentation there is no mention of such…
mirap
  • 1,266
  • 12
  • 23
0
votes
1 answer

How can I store a unique Core Data database to Parse for each PFUser in iOS 8?

I'm developing an application that has a Login & Sign-Up configuration with Parse. I'm working with Core Data to store the information. I have four Entities (for example: Favorite Cars, Races, Recent Races, etc.), which are stored on the iPhone and…
Kingofmit
  • 2,066
  • 1
  • 17
  • 22
0
votes
1 answer

New Parse forces "optional", how to query a PFUser?

I have this code that due to the x-code changes is no longer working. var query = PFUser.query() var user = PFUser.currentUser()!.username query!.whereKey("username", equalTo: "\(user)") query!.findObjectsInBackgroundWithBlock { …
Mason Ballowe
  • 1,847
  • 2
  • 12
  • 23
0
votes
1 answer

Parse iOS - Update PFUser.currentUser() and keep session

I'm trying to update my current logged in user with the following code (iOS): var currentUser:PFUser = PFUser.currentUser()! currentUser.setObject(true, forKey: "phoneVerified") currentUser.saveInBackground() The user is authenticated via username…
tscheiki
  • 31
  • 4
0
votes
2 answers

Adding User Pointer to PFObject in Swift

I am using Parse SDK in Swift and trying to create a new vote Object, then save a pointer to the current user. I get the following error - [Error]: can't add a non-pointer to a relation (Code: 111, Version: 1.7.1). func createVoteObject(row: Int,…
dliebeskind
  • 101
  • 2
  • 12
0
votes
0 answers

How to send Parse user's password to external API Request?

I'm developing an iOS app which the user must login/register an account. But this account must be the same used in some external webservice. The problem is: I want to do some Jobs on Parse to send Push Notifications automatically. To know when Parse…
Caio
  • 371
  • 5
  • 11
0
votes
1 answer

Swift iOS application not saving all object Parse

My problem is adding new numbers to the array field in users. all the code seems to work but i have the problem with saveAll function. All the names are correct, as i've checked on several different occasions. func taskAllocation(){ var…
TomTom
  • 899
  • 8
  • 16
0
votes
1 answer

parse check whether user exists and use user's name in a label

I am using parse to verify whether a user exists (for example: an other user searches for "userX" and if "userX" exists he will send him a message). On Parse website they recommend the following code: var query =…