Simplifies and streamlines the models used between IMember and IUser along with the services used for both of these entities.

Updates the model used to store and retreive permissions, instead of a single string it is an Enumerable<string> which gives us some flexibility in the future and since this was not public (yet) it's the perfect time to do this.
Removes the base Profile classes from User since these are not required, since we cannot share base classes between Member and User, these weren't necessary.
This commit is contained in:
Shannon
2014-01-06 11:04:26 +11:00
parent ba5f2bc69d
commit 85c85cd1eb
28 changed files with 780 additions and 622 deletions

View File

@@ -14,9 +14,10 @@ namespace Umbraco.Core.Services
/// <param name="id">Id of the User to retrieve</param>
/// <returns><see cref="IProfile"/></returns>
IProfile GetProfileById(int id);
IProfile GetProfileByUserName(string username);
IUser GetUserByUserName(string username);
//IUser GetUserByUserName(string username);
IUser GetUserById(int id);
/// <summary>