C# Class PetShop.Services.CustomCode.ProfileManager

Afficher le fichier Open project: netTiers/netTiers Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetAnonymousUser() public méthode

Gets the Anonymous user.
public GetAnonymousUser ( ) : Profile
Résultat PetShop.Business.Profile

GetCurrentUser() public méthode

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