UserRepo.GetByUsername Method

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

GetByUsername(string)

Gets the Id of the User with the specified username.

public static int? GetByUsername(string username)

Parameters

username
string

Username of the User.

Returns

int?

Return an int, or null if no User item has the specified username.