UserRepo Class

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Repo for users.

public static class UserRepo
Inheritance:
System.Object → UserRepo

Methods

CountNonWindowsUsers() Gets the number of enabled user without a windows login.
CountWindowsUsers() Gets the number of enabled users with a windows login.
Get(Int32) Gets a User object from the repository.
GetByEmail(String) Gets the Id of the Users with the specified email address.
GetByGuid(Guid) Gets the Id of the Users with the specified guid.
GetByToken(String) Gets the Id of the User with the specified token.
GetByUsername(String) Gets the Id of the User with the specified username.
GetFollowers(IEntity, QueryOptions) Get users that follow the specified entity.
GetFollowing(User, Query) Get users that the specified user is following.
GetLastSeen(Int32) Gets a System.DateTime object indicating when the specified User was last seen.
GetLikers(IEntity, QueryOptions) Get users that like the specified entity.
GetMentioned(IEntity, QueryOptions)
GetPassword(Int32) Gets the password hash for the specified user.
GetRoleMembers(Int32, UserQuery) Get users that that are members in the specified role.
GetStarrers(IEntity, QueryOptions)
GetVoters(Int32) Gets the people that voted for the specified poll option.
Insert(User, String) Inserts a User object into the repository.
IsUsernameTaken(String) Returns a value indicating whether the specified username is taken.
Search(UserQuery) Performs a search according to the specified UserQuery object.
SetPassword(Int32, String) Sets the password hash for the specified User.
Touch(Int32) Forces an update of the timestamp column.
Update(User) Updates an existing User in the datasource.