Thetype exposes the following members.
Returns the PasswordAnswer
A bitmask of UserAttrs values.
Gets/Sets the type of the authentication provider
Gets/Sets the user's device ID
Gets/Sets the device token. The device token is permanent and can be used to login as the user in a web service.
Returns the EmailAddress
Returns the password encrypted
Gets whether or not the user has minimal access. Currently this is only the case when the ForcePasswordChange attribute is set.
Returns the User ID
Identifies whether or not the user is in compliance with all current user agreements and other introductory material. Note that InCompliance does not determine if compliance has been met, it is just used to expose the compliance state as determined during login and similar activities. Use DetermineCompliance to actively interrogate the database as to compliance state (that method will update InCompliance).
Returns true if the object is valid.
Returns the User name
Gets/Sets the package_level_id from the users view/table
Returns the Password
Returns the list of user profiles
Gets/Sets the Proxy ID for this object. This is used when logging on behalf of another user.
Returns the Password Question
Sets the signature for this user. This property should be set during startup.
Returns the start page
Returns the user token
Gets/Sets the UserGUID for this object.
Returns a NameValueCollection of the profile/roles map including all potential roles in the database. This collection can be used to provide the set of valid roles to Authenticate(String, String, NameValueCollection, Int64) when validating a user.
Change the current password
Clears ALL user tokens for this user.
Returns a copy of this object.
Determines if the current user is in compliance with all current user agreements and other introductory material (InCompliance). If the user is not currently marked as InCompliance then the database will be interrogated to determine whether the user is actually in compliance and update the InCompliance value accordingly. This method is primarily intended for use during login and similar activities and otherwise you should generally use InCompliance.
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Returns a direct login URL BugzID: 92963 - Platform way to get a one-time login url for a user id
Serves as a hash function for a particular type.(Inherited from Object.)
Returns the type of the provider to use for this application
Gets the Type of the current instance.(Inherited from Object.)
Returns true if the specified object "has" the permission. If the object has no assigned permisions, the return value is true.
Checks the list of profiles for a specific match.
Loads the UserContext object by looking up the token in the database
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a bitmask of the object's permissions. If the object has no assigned permissions, the return value is 0xffffffff (All permission bits are set)
Creates a token and caches it to the local (meta) database
Caches the current credentials to the database using the specified token.
Creates or looks up the device token for the current user, device, and os
Reloads the permissions for this UserContext.
Refresh permissions for a specific object. The specified ID should be the ID of the object itself, or of its parent object, depending on the type of object. For example, when refreshing permissions for "page_element" the ID should be the ID of the parent PageInfo. Note that this method is primarily intended for internal platform use.
If non admin user: removes the current device token OR removes all device tokens of the current user so that they are no longer valid. If admin user: can remove device token(s) of a different user if the other user's info is specified in the arguments. Otherwise works like non admin user.
Removes the user token from the database
Sets the password to null, sets the ForcePasswordChange attribute on the user and (optionally) sends the user a way to reset it via email.
Restores the UserContext object by looking up the data from the users table
Sends the user id and password in clear text in an email message to the user.
Updates the token record to the current time.
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.(Defined by EAPUtil.)