The UserController type exposes the following members.

Methods

  NameDescription
Public methodAddUser(UserInfo) Obsolete.
Public methodAddUser(UserInfo, Boolean) Obsolete.
Public methodStatic memberAddUserPortal
add new userportal record (used for creating sites with existing user)
Public methodStatic memberApproveUser
ApproveUser removes the Unverified Users role from the user and adds the auto assigned roles.
Public methodStatic memberCacheKey Obsolete.
Public methodStatic memberChangePassword
ChangePassword attempts to change the users password
Public methodStatic memberChangePasswordByToken(Int32, String, String, String)
overload will validate the token and if valid change the password it does not require an old password as it supports hashed passwords
Public methodStatic memberChangePasswordByToken(Int32, String, String, String, String%) Obsolete.
overload will validate the token and if valid change the password it does not require an old password as it supports hashed passwords errorMessage will define why reset failed
Public methodStatic memberChangePasswordByToken(Int32, String, String, String, String, String%)
overload will validate the token and if valid change the password it does not require an old password as it supports hashed passwords errorMessage will define why reset failed
Public methodStatic memberChangePasswordQuestionAndAnswer
ChangePasswordQuestionAndAnswer attempts to change the users password Question and PasswordAnswer
Public methodStatic memberChangeUsername
update username in the system works around membershipprovider limitation
Public methodStatic memberCheckInsecurePassword
Public methodStatic memberCopyUserToPortal(UserInfo, PortalInfo, Boolean)
Copys a user to a different portal.
Public methodStatic memberCopyUserToPortal(UserInfo, PortalInfo, Boolean, Boolean) Obsolete.
Public methodStatic memberCreateUser
Creates a new User in the Data Store
Public methodDeleteAllUsers Obsolete.
Public methodStatic memberDeleteUnauthorizedUsers
Deletes all Unauthorized Users for a Portal
Public methodDeleteUser(Int32, Int32) Obsolete.
Public methodStatic memberDeleteUser(UserInfo%, Boolean, Boolean)
Deletes an existing User from the Data Store
Public methodDeleteUsers(Int32) Obsolete.
Public methodStatic memberDeleteUsers(Int32, Boolean, Boolean)
Deletes all Users for a Portal
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFillUserCollection(Int32, IDataReader) Obsolete.
Public methodStatic memberFillUserCollection(Int32, IDataReader, Int32%) Obsolete.
Public methodFillUserInfo(Int32, String) Obsolete.
Public methodStatic memberFillUserInfo(Int32, IDataReader, Boolean) Obsolete.
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 methodStatic memberGeneratePassword()()()()
Generates a new random password (Length = Minimum Length + 4)
Public methodStatic memberGeneratePassword(Int32)
Generates a new random password
Public methodStatic memberGetCachedUser
GetCachedUser retrieves the User from the Cache, or fetches a fresh copy if not in cache or if Cache settings not set to HeavyCaching
Public methodGetCacheKey Obsolete.
Public methodStatic memberGetCurrentUserInfo Obsolete.
Public methodStatic memberGetDefaultUserSettings
Gets the Default Settings for the Module
Public methodStatic memberGetDeletedUsers
Public methodStatic memberGetDuplicateEmailCount
Gets the number count for all duplicate e-mail adresses in the database
Protected methodGetFactory (Overrides ServiceLocator<(Of <(<'TContract, TSelf>)>)>..::..GetFactory()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetOnlineUsers
Gets a collection of Online Users
Public methodStatic memberGetPassword
Gets the Current Password Information for the User
Public methodGetSuperUsers Obsolete.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUnAuthorizedUsers(Int32)
GetUnAuthorizedUsers gets all the users of the portal, that are not authorized
Public methodStatic memberGetUnAuthorizedUsers(Int32, Boolean) Obsolete.
Public methodStatic memberGetUnAuthorizedUsers(Int32, Boolean, Boolean)
Public methodGetUser(Int32, Int32)
GetUser retrieves a User from the DataStore
Public methodStatic memberGetUser(Int32, Int32, Boolean) Obsolete.
Public methodStatic memberGetUser(Int32, Int32, Boolean, Boolean) Obsolete.
Public methodGetUserByDisplayname
Public methodStatic memberGetUserByEmail
GetUserByEmail gets one single user matching the email address provided This will only be useful in portals without duplicate email addresses filter expression
Public methodStatic memberGetUserById
GetUser retrieves a User from the DataStore
Public methodStatic memberGetUserByName(String)
GetUserByUserName retrieves a User from the DataStore
Public methodStatic memberGetUserByName(Int32, String)
GetUserByUserName retrieves a User from the DataStore
Public methodStatic memberGetUserByName(Int32, String, Boolean) Obsolete.
Public methodStatic memberGetUserByPasswordResetToken
Public methodGetUserByUsername(Int32, String) Obsolete.
Public methodGetUserByUsername(Int32, String, Boolean) Obsolete.
Public methodStatic memberGetUserByVanityUrl
Public methodStatic memberGetUserCountByPortal
GetUserCountByPortal gets the number of users in the portal
Public methodStatic memberGetUserCreateStatus
Retruns a String corresponding to the Registration Status of the User
Public methodStatic memberGetUserMembership
Gets the Membership Information for the User
Public methodGetUserProfilePictureUrl
Return User Profile Picture relative Url
Public methodStatic memberGetUsers(Int32)
GetUsers gets all the users of the portal
Public methodGetUsers(Boolean, Boolean) Obsolete.
Public methodStatic memberGetUsers(Int32, Boolean) Obsolete.
Public methodStatic memberGetUsers(Boolean, Boolean, Int32)
GetUsers gets all the users of the portal
Public methodGetUsers(Int32, Boolean, Boolean) Obsolete.
Public methodStatic memberGetUsers(Int32, Int32, Int32, Int32%)
GetUsers gets all the users of the portal, by page
Public methodStatic memberGetUsers(Int32, Boolean, Int32, Int32, Int32%) Obsolete.
Public methodStatic memberGetUsers(Int32, Int32, Int32, Int32%, Boolean, Boolean)
GetUsers gets all the users of the portal, by page
Public methodGetUsersAdvancedSearch
Public methodGetUsersBasicSearch
Public methodStatic memberGetUsersByDisplayName
GetUsersByDisplayName gets all the users of the portal whose display name matches a provided filter expression
Public methodStatic memberGetUsersByEmail(Int32, String, Int32, Int32, Int32%)
GetUsersByEmail gets all the users of the portal whose email matches a provided filter expression
Public methodStatic memberGetUsersByEmail(Int32, Boolean, String, Int32, Int32, Int32%) Obsolete.
Public methodStatic memberGetUsersByEmail(Int32, String, Int32, Int32, Int32%, Boolean, Boolean)
GetUsersByEmail gets all the users of the portal whose email matches a provided filter expression
Public methodStatic memberGetUsersByProfileProperty(Int32, String, String, Int32, Int32, Int32%)
GetUsersByProfileProperty gets all the users of the portal whose profile matches the profile property pased as a parameter
Public methodStatic memberGetUsersByProfileProperty(Int32, Boolean, String, String, Int32, Int32, Int32%) Obsolete.
Public methodStatic memberGetUsersByProfileProperty(Int32, String, String, Int32, Int32, Int32%, Boolean, Boolean)
GetUsersByProfileProperty gets all the users of the portal whose profile matches the profile property pased as a parameter
Public methodStatic memberGetUsersByUserName(Int32, String, Int32, Int32, Int32%)
GetUsersByUserName gets all the users of the portal whose username matches a provided filter expression
Public methodStatic memberGetUsersByUserName(Int32, Boolean, String, Int32, Int32, Int32%) Obsolete.
Public methodStatic memberGetUsersByUserName(Int32, String, Int32, Int32, Int32%, Boolean, Boolean)
GetUsersByUserName gets all the users of the portal whose username matches a provided filter expression
Public methodStatic memberGetUserSettings
GetUserSettings retrieves the UserSettings from the User
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMoveUserToPortal
Move a user to a different portal.
Public methodStatic memberRemoveDeletedUsers
Public methodStatic memberRemoveUser
Public methodStatic memberResetAndChangePassword(UserInfo, String)
reset and change password used by admin/host users who do not need to supply an "old" password
Public methodStatic memberResetAndChangePassword(UserInfo, String, String)
Public methodStatic memberResetPassword
Resets the password for the specified user
Public methodStatic memberResetPasswordToken(UserInfo)
Public methodStatic memberResetPasswordToken(UserInfo, Boolean)
Public methodStatic memberResetPasswordToken(UserInfo, Int32)
Public methodStatic memberRestoreUser
Public methodStatic memberSetAuthCookie Obsolete.
Public methodSetPassword(UserInfo, String) Obsolete.
Public methodSetPassword(UserInfo, String, String) Obsolete.
Public methodStatic memberSettingsKey
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnLockUser
Unlocks the User's Account
Public methodUnlockUserAccount Obsolete.
Public methodUpdateDisplayNames
Update all the Users Display Names
Public methodUpdateUser(UserInfo) Obsolete.
Public methodStatic memberUpdateUser(Int32, UserInfo)
Updates a User
Public methodStatic memberUpdateUser(Int32, UserInfo, Boolean)
updates a user
Public methodStatic memberUpdateUser(Int32, UserInfo, Boolean, Boolean)
updates a user
Public methodStatic memberUserLogin(Int32, UserInfo, String, String, Boolean)
Logs a Validated User in
Public methodStatic memberUserLogin(Int32, String, String, String, String, String, UserLoginStatus%, Boolean)
Validates a User's credentials against the Data Store, and sets the Forms Authentication Ticket
Public methodStatic memberValidatePassword
Validates a Password
Public methodStatic memberValidateUser(UserInfo, Int32, Boolean)
Validates a User's Password and Profile
Public methodStatic memberValidateUser(Int32, String, String, String, String, String, UserLoginStatus%)
Validates a User's credentials against the Data Store
Public methodStatic memberValidateUser(Int32, String, String, String, String, String, String, UserLoginStatus%)
Validates a User's credentials against the Data Store
Public methodStatic memberVerifyUser
Tries to validate a verification code sent after a user is registered in a portal configured to use a verified registration.

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also