UserService.Get Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Get(Int32, Boolean) Gets a User object from the repository.
Get(String, Boolean) Gets the User with the specified username.
Get(String, String, Boolean) Gets the User with the specified username/email and password.

Get(Int32, Boolean)

Gets a User object from the repository.

public static User Get(int id, bool filter = true)

Parameters

id
System.Int32
filter
System.Boolean

Returns

User

Returns an instance of the class.

Get(String, Boolean)

Gets the User with the specified username.

public static User Get(string username, bool filter = true)

Parameters

username
System.String
filter
System.Boolean

Returns

User

Returns an instance of the class.

Get(String, String, Boolean)

Gets the User with the specified username/email and password.

public static User Get(string username, string password, bool filter = true)

Parameters

username
System.String
password
System.String
filter
System.Boolean

Returns

User

Returns an instance of the class.