Interface IMemberRepository
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public interface IMemberRepository : IRepositoryVersionable<int, IMember>, IRepositoryQueryable<int, IMember>, IRepository<int, IMember>, IReadRepository<int, IMember>, IRepository, IDisposable, IDeleteMediaFilesRepository
Methods
AddOrUpdateContentXml(IMember, Func<IMember, XElement>)
Used to add/update published xml for the media item
Declaration
void AddOrUpdateContentXml(IMember content, Func<IMember, XElement> xml)
Parameters
Type |
Name |
Description |
IMember |
content |
|
System.Func<IMember, System.Xml.Linq.XElement> |
xml |
|
AddOrUpdatePreviewXml(IMember, Func<IMember, XElement>)
Used to add/update preview xml for the content item
Declaration
void AddOrUpdatePreviewXml(IMember content, Func<IMember, XElement> xml)
Parameters
Type |
Name |
Description |
IMember |
content |
|
System.Func<IMember, System.Xml.Linq.XElement> |
xml |
|
Exists(String)
Checks if a member with the username exists
Declaration
bool Exists(string username)
Parameters
Type |
Name |
Description |
System.String |
username |
|
Returns
Type |
Description |
System.Boolean |
|
FindMembersInRole(String, String, StringPropertyMatchType)
Finds members in a given role
Declaration
IEnumerable<IMember> FindMembersInRole(string roleName, string usernameToMatch, StringPropertyMatchType matchType = StringPropertyMatchType.StartsWith)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IMember> |
|
GetByMemberGroup(String)
Get all members in a specific group
Declaration
IEnumerable<IMember> GetByMemberGroup(string groupName)
Parameters
Type |
Name |
Description |
System.String |
groupName |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IMember> |
|
GetCountByQuery(IQuery<IMember>)
Gets the count of items based on a complex query
Declaration
int GetCountByQuery(IQuery<IMember> query)
Parameters
Returns
Type |
Description |
System.Int32 |
|