Interface IMembershipMemberService
Defines part of the MemberService, which is specific to methods used by the membership provider.
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IMembershipMemberService : IMembershipMemberService<IMember>, IService, IMembershipRoleService<IMember>
Remarks
Idea is to have this as an isolated interface so that it can be easily 'replaced' in the membership provider implementation.
Methods
View SourceCreateMemberWithIdentity(String, String, IMemberType)
Creates and persists a new Member
Declaration
IMember CreateMemberWithIdentity(string username, string email, IMemberType memberType)
Parameters
Type | Name | Description |
---|---|---|
System.String | username | Username of the Member to create |
System.String | Email of the Member to create |
|
IMemberType | memberType | IMemberType which the Member should be based on |
Returns
Type | Description |
---|---|
IMember | IMember |