C# Класс PetShop.Services.CustomCode.ProfileManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CreateUser() публичный Метод

Creates a new user.
public CreateUser ( string username, bool isAnonymous ) : Profile
username string The username.
isAnonymous bool True if the the user anonymous.
Результат PetShop.Business.Profile

GetAnonymousUser() публичный Метод

Gets the Anonymous user.
public GetAnonymousUser ( ) : Profile
Результат PetShop.Business.Profile

GetCurrentUser() публичный Метод

Gets a user by the username.
public GetCurrentUser ( string username ) : Profile
username string the username.
Результат PetShop.Business.Profile