ParseUser ClassParse
Represents a user for a Parse application.
Inheritance Hierarchy

SystemObject
  ParseParseObject
    ParseParseUser

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public class ParseUser : ParseObject

The ParseUser type exposes the following members.

Constructors

  NameDescription
Public methodParseUser
Constructs a new ParseUser with no data.
Top
Properties

  NameDescription
Public propertyACL
Gets or sets the ParseACL governing this object.
(Inherited from ParseObject.)
Public propertyClassName
Gets the class name for the ParseObject.
(Inherited from ParseObject.)
Public propertyCreatedAt
Gets the first time this object was saved as the server sees it, so that if you create a ParseObject, then wait a while, and then call SaveAsync, the creation time will be the time of the first SaveAsync call rather than the time the object was created locally.
(Inherited from ParseObject.)
Public propertyStatic memberCurrentUser
Gets the currently logged in ParseUser with a valid session, either from memory or disk if necessary.
Public propertyEmail
Sets the email address.
Public propertyIsAuthenticated
Whether the ParseUser has been authenticated on this device. Only an authenticated ParseUser can be saved and deleted.
Public propertyIsDataAvailable
Gets whether the ParseObject has been fetched.
(Inherited from ParseObject.)
Public propertyIsDirty
Indicates whether this ParseObject has unsaved changes.
(Inherited from ParseObject.)
Public propertyIsNew
Returns true if this object was created by the Parse server when the object might have already been there (e.g. in the case of a Facebook login)
(Inherited from ParseObject.)
Public propertyItem
Gets or sets a value on the object. It is recommended to name keys in partialCamelCaseLikeThis.
(Inherited from ParseObject.)
Public propertyKeys
Gets a set view of the keys contained in this object. This does not include createdAt, updatedAt, or objectId. It does include things like username and ACL.
(Inherited from ParseObject.)
Public propertyObjectId
Gets or sets the object id. An object id is assigned as soon as an object is saved to the server. The combination of a ClassName and an ObjectId uniquely identifies an object in your application.
(Inherited from ParseObject.)
Public propertyPassword
Sets the password.
Public propertyStatic memberQuery
Public propertyUpdatedAt
Gets the last time this object was updated as the server sees it, so that if you make changes to a ParseObject, then wait a while, and then call SaveAsync, the updated time will be the time of the SaveAsync call rather than the time the object was changed locally.
(Inherited from ParseObject.)
Public propertyUsername
Gets or sets the username.
Top
Methods

  NameDescription
Public methodAdd
Adds a value for the given key, throwing an Exception if the key already has a value.
(Inherited from ParseObject.)
Public methodAddRangeToListT
Atomically adds objects to the end of the list associated with the given key.
(Inherited from ParseObject.)
Public methodAddRangeUniqueToListT
Atomically adds objects to the end of the list associated with the given key, only if they are not already present in the list. The position of the inserts are not guaranteed.
(Inherited from ParseObject.)
Public methodAddToList
Atomically adds an object to the end of the list associated with the given key.
(Inherited from ParseObject.)
Public methodAddUniqueToList
Atomically adds an object to the end of the list associated with the given key, only if it is not already present in the list. The position of the insert is not guaranteed.
(Inherited from ParseObject.)
Public methodStatic memberBecomeAsync(String)
Logs in a user with a username and password. On success, this saves the session to disk so you can retrieve the currently logged in user using CurrentUser.
Public methodStatic memberBecomeAsync(String, CancellationToken)
Logs in a user with a username and password. On success, this saves the session to disk so you can retrieve the currently logged in user using CurrentUser.
Public methodContainsKey
Returns whether this object has a particular key.
(Inherited from ParseObject.)
Public methodDeleteAsync
Deletes this object on the server.
(Inherited from ParseObject.)
Public methodDeleteAsync(CancellationToken)
Deletes this object on the server.
(Inherited from ParseObject.)
Public methodStatic memberEnableRevocableSessionAsync
Tells server to use revocable session on LogIn and SignUp, even when App's Settings has "Require Revocable Session" turned off. Issues network request in background to migrate the sessionToken on disk to revocable session.
Public methodStatic memberEnableRevocableSessionAsync(CancellationToken)
Tells server to use revocable session on LogIn and SignUp, even when App's Settings has "Require Revocable Session" turned off. Issues network request in background to migrate the sessionToken on disk to revocable session.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetT
Gets a value for the key of a particular type. The type to convert the value to. Supported types are ParseObject and its descendents, Parse types such as ParseRelation and ParseGeopoint, primitive types,IList<T>, IDictionary<string, T>, and strings.The key of the element to get.The property is retrieved and key is not found.
(Inherited from ParseObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetPropertyT(String)
Gets the value of a property based upon its associated ParseFieldName attribute.
(Inherited from ParseObject.)
Protected methodGetPropertyT(T, String)
Gets the value of a property based upon its associated ParseFieldName attribute.
(Inherited from ParseObject.)
Public methodGetRelationT
Access or create a Relation value for a key.
(Inherited from ParseObject.)
Protected methodGetRelationPropertyT
Gets a relation for a property based upon its associated ParseFieldName attribute.
(Inherited from ParseObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasSameId
A helper function for checking whether two ParseObjects point to the same object in the cloud.
(Inherited from ParseObject.)
Public methodIncrement(String)
Atomically increments the given key by 1.
(Inherited from ParseObject.)
Public methodIncrement(String, Double)
Atomically increments the given key by the given number.
(Inherited from ParseObject.)
Public methodIncrement(String, Int64)
Atomically increments the given key by the given number.
(Inherited from ParseObject.)
Public methodIsKeyDirty
Indicates whether key is unsaved for this ParseObject.
(Inherited from ParseObject.)
Public methodStatic memberLogInAsync(String, String)
Logs in a user with a username and password. On success, this saves the session to disk so you can retrieve the currently logged in user using CurrentUser.
Public methodStatic memberLogInAsync(String, String, CancellationToken)
Logs in a user with a username and password. On success, this saves the session to disk so you can retrieve the currently logged in user using CurrentUser.
Public methodStatic memberLogOut
Logs out the currently logged in user session. This will remove the session from disk, log out of linked services, and future calls to CurrentUser will return null.
Public methodStatic memberLogOutAsync
Logs out the currently logged in user session. This will remove the session from disk, log out of linked services, and future calls to CurrentUser will return null.
Public methodStatic memberLogOutAsync(CancellationToken)
Logs out the currently logged in user session. This will remove the session from disk, log out of linked services, and future calls to CurrentUser will return null. This is preferable to using LogOut, unless your code is already running from a background thread.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnFieldsChanged
Raises change notifications for all properties associated with the given field names. If fieldNames is null, this will notify for all known field-linked properties (e.g. this happens when we recalculate all estimated data from scratch)
(Inherited from ParseObject.)
Protected methodOnPropertyChanged
Raises change notifications for a property. Passing null or the empty string notifies the binding framework that all properties/indexes have changed. Passing "Item[]" tells the binding framework that all indexed values have changed (but not all properties)
(Inherited from ParseObject.)
Public methodRemove
Removes a key from the object's data if it exists.
(Overrides ParseObjectRemove(String).)
Public methodRemoveAllFromListT
Atomically removes all instances of the objects in values from the list associated with the given key.
(Inherited from ParseObject.)
Public methodStatic memberRequestPasswordResetAsync(String)
Requests a password reset email to be sent to the specified email address associated with the user account. This email allows the user to securely reset their password on the Parse site.
Public methodStatic memberRequestPasswordResetAsync(String, CancellationToken)
Requests a password reset email to be sent to the specified email address associated with the user account. This email allows the user to securely reset their password on the Parse site.
Public methodRevert
Clears any changes to this object made since the last call to SaveAsync.
(Inherited from ParseObject.)
Public methodSaveAsync
Saves this object to the server.
(Inherited from ParseObject.)
Public methodSaveAsync(CancellationToken)
Saves this object to the server.
(Inherited from ParseObject.)
Protected methodSetPropertyT
Sets the value of a property based upon its associated ParseFieldName attribute.
(Inherited from ParseObject.)
Public methodSignUpAsync
Signs up a new user. This will create a new ParseUser on the server and will also persist the session on disk so that you can access the user using CurrentUser. A username and password must be set before calling SignUpAsync.
Public methodSignUpAsync(CancellationToken)
Signs up a new user. This will create a new ParseUser on the server and will also persist the session on disk so that you can access the user using CurrentUser. A username and password must be set before calling SignUpAsync.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValueT
Populates result with the value for the key, if possible.
(Inherited from ParseObject.)
Top
Events

  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from ParseObject.)
Top
See Also

Reference