Class UserProfile
A bare minimum structure that represents a user, usually attached to other objects
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "user", Namespace = "")]
public class UserProfile : IComparable
Properties
View SourceName
Declaration
[DataMember(Name = "name", IsRequired = true)]
[Required]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Declaration
[DataMember(Name = "id", IsRequired = true)]
[Required]
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |