mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding ContentType class and GetContentTypes methods to IContentManager and IContentProvider
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042626
This commit is contained in:
@@ -3,6 +3,8 @@ using Orchard.Security;
|
||||
|
||||
namespace Orchard.Users.Models {
|
||||
public sealed class User : ContentPart<UserRecord>, IUser {
|
||||
public readonly static ContentType ContentType = new ContentType { Name = "user", DisplayName = "User Profile" };
|
||||
|
||||
public int Id {
|
||||
get { return ContentItem.Id; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user