The UserRepository type exposes the following members.

Constructors

  Name Description
Protected method UserRepository
Constructor.

Methods

  Name Description
Public method ChangeUserPassword(AspnetUsersEntity, String, Boolean)
Change asp.net user password.
Public method ChangeUserPassword(Guid, String, Boolean)
Change asp.net user password.
Public method ConvertTimeFromUtcToUserLocalTime
Converts the specified UTC time to user local time.
Public method CreateNewUser
Create asp.net user.
Public method CreateUserManually
Creates a user account manually, without using Membership.CreateUser.
Public method DeleteUser(AspnetUsersEntity)
Deletes user
Public method DeleteUser(Guid)
Deletes user by id
Public method DeleteUserSocialEntity
Deletes user social connection from the database.
Public method GetActiveUsers
Retrieves only active users.
Public method GetNewUsers
Retrieves all new portal users, or users with latest activity dates.
Public method GetUser(Guid)
Get asp.net user by id.
Public method GetUser(String)
Get asp.net user by user name.
Public method GetUserByEmailOrId
Retrieves an user by its e-mail address or external social network ID and application ID.
Public method GetUserConnectionTypedViewEntries
Get user's connections from the database projected on the view UserConnectionsTypedViewEntry
Public method GetUserCount
Returns a total number of users for all application IDs.
Public method GetUserCountPerApplication()()()()
Returns a total number of users for current application ID.
Public method GetUserCountPerApplication(Guid)
Returns a total number of users for application ID.
Public method GetUserInitialFilter
Get initial filter.
Public method GetUserPrefetchPath()()()()
Get prefetch path.
Public method GetUserPrefetchPath(RelationPredicateBucket)
Get prefetch path.
Public method GetUsers(String, Boolean, Int32, Int32, Int32%)
Retrieves all users that has "userData" string as a part of the username, first name or last name.
Public method GetUsers(RelationPredicateBucket, ISortExpression, IPrefetchPath2, Int32, Int32, Int32%)
Retrieves all users.
Public method GetUsers(Guid, RelationPredicateBucket, ISortExpression, IPrefetchPath2, Int32, Int32, Int32%)
Retrieves all users.
Public method GetUsers(String, Boolean, Guid, Boolean, Int32, Int32, Int32%)
Retrieves all users that has "userData" string as a part of the username, first name or last name.
Public method GetUserSocialIdentities
Obtains social identities for currently set user.
Protected method GetUserSocialIdentityFilter
Generates filters for user social identity.
Public method GetUserSorter
Get sort expression.
Public method GetUserWithProfile(Guid)
Get asp.net user by id with full details, including profile and membership data.
Public method GetUserWithProfile(String)
Get asp.net user by id with full details, including profile and membership data.
Public method LockoutUser
Performs user lockout.
Public method ResetFailedPasswordAttemptCount
Reset failed password attempt count for specified user.
Public method SearchAllUsers
Search all users.
Public method SearchFriendsListsGroups
Get all possible users that can be contacted in the user picker list - friends from the friends table, the names of the friend lists, and groups from the groups table.
Public method SearchFriendsOrGroupMembers
Searches users from the user's groups or friend lists, depending on the SocialNetworkingMode as set in the web.config.
Public method SetSocialIdentity
Sets the social identity ID for a particular user and provider name.
Public method UserExists(Guid)
Checks if user exists.
Public method UserExists(String)
Checks if user exists.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also