C# Class PetShop.Services.CustomCode.ProfileManager

ファイルを表示 Open project: netTiers/netTiers Class Usage Examples

Public Methods

Method Description
CreateUser ( string username, bool isAnonymous ) : Profile

Creates a new user.

GetAnonymousUser ( ) : Profile

Gets the Anonymous user.

GetCurrentUser ( string username ) : Profile

Gets a user by the username.

Method Details

CreateUser() public method

Creates a new user.
public CreateUser ( string username, bool isAnonymous ) : Profile
username string The username.
isAnonymous bool True if the the user anonymous.
return PetShop.Business.Profile

GetAnonymousUser() public method

Gets the Anonymous user.
public GetAnonymousUser ( ) : Profile
return PetShop.Business.Profile

GetCurrentUser() public method

Gets a user by the username.
public GetCurrentUser ( string username ) : Profile
username string the username.
return PetShop.Business.Profile