The UserController type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UserController | DotNetNuke.Entities.Users.UserController |
Methods
| Name | Description | |
|---|---|---|
| AddUser(UserInfo) | Obsolete. | |
| AddUser(UserInfo, Boolean) | Obsolete. | |
| AddUserPortal |
add new userportal record (used for creating sites with existing user)
| |
| ApproveUser |
ApproveUser removes the Unverified Users role from the user and adds the auto assigned roles.
| |
| CacheKey | Obsolete. | |
| ChangePassword |
ChangePassword attempts to change the users password
| |
| ChangePasswordByToken(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
| |
| ChangePasswordByToken(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
| |
| ChangePasswordByToken(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
| |
| ChangePasswordQuestionAndAnswer |
ChangePasswordQuestionAndAnswer attempts to change the users password Question
and PasswordAnswer
| |
| ChangeUsername |
update username in the system
works around membershipprovider limitation
| |
| CheckInsecurePassword | ||
| CopyUserToPortal(UserInfo, PortalInfo, Boolean) |
Copys a user to a different portal.
| |
| CopyUserToPortal(UserInfo, PortalInfo, Boolean, Boolean) | Obsolete. | |
| CreateUser |
Creates a new User in the Data Store
| |
| DeleteAllUsers | Obsolete. | |
| DeleteUnauthorizedUsers |
Deletes all Unauthorized Users for a Portal
| |
| DeleteUser(Int32, Int32) | Obsolete. | |
| DeleteUser(UserInfo%, Boolean, Boolean) |
Deletes an existing User from the Data Store
| |
| DeleteUsers(Int32) | Obsolete. | |
| DeleteUsers(Int32, Boolean, Boolean) |
Deletes all Users for a Portal
| |
| Equals | (Inherited from Object.) | |
| FillUserCollection(Int32, IDataReader) | Obsolete. | |
| FillUserCollection(Int32, IDataReader, Int32%) | Obsolete. | |
| FillUserInfo(Int32, String) | Obsolete. | |
| FillUserInfo(Int32, IDataReader, Boolean) | Obsolete. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GeneratePassword()()()() |
Generates a new random password (Length = Minimum Length + 4)
| |
| GeneratePassword(Int32) |
Generates a new random password
| |
| GetCachedUser |
GetCachedUser retrieves the User from the Cache, or fetches a fresh copy if
not in cache or if Cache settings not set to HeavyCaching
| |
| GetCacheKey | Obsolete. | |
| GetCurrentUserInfo | Obsolete. | |
| GetDefaultUserSettings |
Gets the Default Settings for the Module
| |
| GetDeletedUsers | ||
| GetDuplicateEmailCount |
Gets the number count for all duplicate e-mail adresses in the database
| |
| GetFactory | (Overrides ServiceLocator<(Of <(<'TContract, TSelf>)>)>..::..GetFactory()()()().) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetOnlineUsers |
Gets a collection of Online Users
| |
| GetPassword |
Gets the Current Password Information for the User
| |
| GetSuperUsers | Obsolete. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnAuthorizedUsers(Int32) |
GetUnAuthorizedUsers gets all the users of the portal, that are not authorized
| |
| GetUnAuthorizedUsers(Int32, Boolean) | Obsolete. | |
| GetUnAuthorizedUsers(Int32, Boolean, Boolean) | ||
| GetUser(Int32, Int32) |
GetUser retrieves a User from the DataStore
| |
| GetUser(Int32, Int32, Boolean) | Obsolete. | |
| GetUser(Int32, Int32, Boolean, Boolean) | Obsolete. | |
| GetUserByDisplayname | ||
| GetUserByEmail |
GetUserByEmail gets one single user matching the email address provided
This will only be useful in portals without duplicate email addresses
filter expression
| |
| GetUserById |
GetUser retrieves a User from the DataStore
| |
| GetUserByName(String) |
GetUserByUserName retrieves a User from the DataStore
| |
| GetUserByName(Int32, String) |
GetUserByUserName retrieves a User from the DataStore
| |
| GetUserByName(Int32, String, Boolean) | Obsolete. | |
| GetUserByPasswordResetToken | ||
| GetUserByUsername(Int32, String) | Obsolete. | |
| GetUserByUsername(Int32, String, Boolean) | Obsolete. | |
| GetUserByVanityUrl | ||
| GetUserCountByPortal |
GetUserCountByPortal gets the number of users in the portal
| |
| GetUserCreateStatus |
Retruns a String corresponding to the Registration Status of the User
| |
| GetUserMembership |
Gets the Membership Information for the User
| |
| GetUserProfilePictureUrl |
Return User Profile Picture relative Url
| |
| GetUsers(Int32) |
GetUsers gets all the users of the portal
| |
| GetUsers(Boolean, Boolean) | Obsolete. | |
| GetUsers(Int32, Boolean) | Obsolete. | |
| GetUsers(Boolean, Boolean, Int32) |
GetUsers gets all the users of the portal
| |
| GetUsers(Int32, Boolean, Boolean) | Obsolete. | |
| GetUsers(Int32, Int32, Int32, Int32%) |
GetUsers gets all the users of the portal, by page
| |
| GetUsers(Int32, Boolean, Int32, Int32, Int32%) | Obsolete. | |
| GetUsers(Int32, Int32, Int32, Int32%, Boolean, Boolean) |
GetUsers gets all the users of the portal, by page
| |
| GetUsersAdvancedSearch | ||
| GetUsersBasicSearch | ||
| GetUsersByDisplayName |
GetUsersByDisplayName gets all the users of the portal whose display name matches a provided
filter expression
| |
| GetUsersByEmail(Int32, String, Int32, Int32, Int32%) |
GetUsersByEmail gets all the users of the portal whose email matches a provided
filter expression
| |
| GetUsersByEmail(Int32, Boolean, String, Int32, Int32, Int32%) | Obsolete. | |
| GetUsersByEmail(Int32, String, Int32, Int32, Int32%, Boolean, Boolean) |
GetUsersByEmail gets all the users of the portal whose email matches a provided
filter expression
| |
| GetUsersByProfileProperty(Int32, String, String, Int32, Int32, Int32%) |
GetUsersByProfileProperty gets all the users of the portal whose profile matches
the profile property pased as a parameter
| |
| GetUsersByProfileProperty(Int32, Boolean, String, String, Int32, Int32, Int32%) | Obsolete. | |
| GetUsersByProfileProperty(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
| |
| GetUsersByUserName(Int32, String, Int32, Int32, Int32%) |
GetUsersByUserName gets all the users of the portal whose username matches a provided
filter expression
| |
| GetUsersByUserName(Int32, Boolean, String, Int32, Int32, Int32%) | Obsolete. | |
| GetUsersByUserName(Int32, String, Int32, Int32, Int32%, Boolean, Boolean) |
GetUsersByUserName gets all the users of the portal whose username matches a provided
filter expression
| |
| GetUserSettings |
GetUserSettings retrieves the UserSettings from the User
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveUserToPortal |
Move a user to a different portal.
| |
| RemoveDeletedUsers | ||
| RemoveUser | ||
| ResetAndChangePassword(UserInfo, String) |
reset and change password
used by admin/host users who do not need to supply an "old" password
| |
| ResetAndChangePassword(UserInfo, String, String) | ||
| ResetPassword |
Resets the password for the specified user
| |
| ResetPasswordToken(UserInfo) | ||
| ResetPasswordToken(UserInfo, Boolean) | ||
| ResetPasswordToken(UserInfo, Int32) | ||
| RestoreUser | ||
| SetAuthCookie | Obsolete. | |
| SetPassword(UserInfo, String) | Obsolete. | |
| SetPassword(UserInfo, String, String) | Obsolete. | |
| SettingsKey | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UnLockUser |
Unlocks the User's Account
| |
| UnlockUserAccount | Obsolete. | |
| UpdateDisplayNames |
Update all the Users Display Names
| |
| UpdateUser(UserInfo) | Obsolete. | |
| UpdateUser(Int32, UserInfo) |
Updates a User
| |
| UpdateUser(Int32, UserInfo, Boolean) |
updates a user
| |
| UpdateUser(Int32, UserInfo, Boolean, Boolean) |
updates a user
| |
| UserLogin(Int32, UserInfo, String, String, Boolean) |
Logs a Validated User in
| |
| UserLogin(Int32, String, String, String, String, String, UserLoginStatus%, Boolean) |
Validates a User's credentials against the Data Store, and sets the Forms Authentication
Ticket
| |
| ValidatePassword |
Validates a Password
| |
| ValidateUser(UserInfo, Int32, Boolean) |
Validates a User's Password and Profile
| |
| ValidateUser(Int32, String, String, String, String, String, UserLoginStatus%) |
Validates a User's credentials against the Data Store
| |
| ValidateUser(Int32, String, String, String, String, String, String, UserLoginStatus%) |
Validates a User's credentials against the Data Store
| |
| VerifyUser |
Tries to validate a verification code sent after a user is registered in a portal configured to use a verified registration.
|
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
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.) |
Properties
| Name | Description | |
|---|---|---|
| DisplayFormat | ||
| PortalId |