using System.Collections.Generic;
using Umbraco.Core.Models.Membership;
namespace Umbraco.Core.Services
{
///
/// Defines part of the UserService, which is specific to methods used by the membership provider.
///
///
/// Idea is to have this is an isolated interface so that it can be easily 'replaced' in the membership provider impl.
///
public interface IMembershipUserService : IMembershipMemberService
{
///
/// Creates and persists a new User
///
/// The user will be saved in the database and returned with an Id.
/// This method is convenient when you need to perform operations, which needs the
/// Id of the user once its been created.
/// Username of the User to create
/// Email of the User to create
///
IUser CreateUserWithIdentity(string username, string email);
}
}