Interface IUserRepository
Provides an interface to implement a User repository
Inherited Members
System.IDisposable.Dispose()
Assembly: MediaBrowser.Controller.dll
public interface IUserRepository : IRepository, IDisposable
Methods
Declaration
void CopySettings(long sourceUserId, long targetUserId)
Parameters
Type |
Name |
Description |
System.Int64 |
sourceUserId |
|
System.Int64 |
targetUserId |
|
Declaration
void CreateUser(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
void DeleteUser(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
string GetUserSetting(long userId, string key)
Parameters
Type |
Name |
Description |
System.Int64 |
userId |
|
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
Declaration
long[] GetUsersWithSettings(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Int64[] |
|
Declaration
List<User> RetrieveAllUsers()
Returns
Type |
Description |
System.Collections.Generic.List<User> |
|
Declaration
void SetUserSettings(long userId, NameValuePair[] settings)
Parameters
Type |
Name |
Description |
System.Int64 |
userId |
|
NameValuePair[] |
settings |
|
Declaration
void UpdateUser(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Extension Methods