View Source
Class UserDetail
Represents information for the current user
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "user", Namespace = "")]
public class UserDetail : UserProfile
Properties
View Source
AllowedLanguageIds
A list of language culcure codes the user is allowed to view.
Declaration
[DataMember(Name = "allowedLanguageIds")]
public IEnumerable<int>? AllowedLanguageIds { get; set; }
Property Value
Type |
Description |
System.Nullable<IEnumerable<System.Int32>> |
|
View Source
AllowedSections
A list of sections the user is allowed to view.
Declaration
[DataMember(Name = "allowedSections")]
public IEnumerable<string>? AllowedSections { get; set; }
Property Value
Type |
Description |
System.Nullable<IEnumerable<System.String>> |
|
View Source
Avatars
Returns a list of different size avatars
Declaration
[DataMember(Name = "avatars")]
public string[] Avatars { get; set; }
Property Value
Type |
Description |
System.String[] |
|
View Source
Culture
Declaration
[DataMember(Name = "locale", IsRequired = true)]
[Required]
public string Culture { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Email
Declaration
[DataMember(Name = "email", IsRequired = true)]
[Required]
public string Email { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
EmailHash
The MD5 lowercase hash of the email which can be used by gravatar
Declaration
[DataMember(Name = "emailHash")]
public string EmailHash { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
SecondsUntilTimeout
Gets/sets the number of seconds for the user's auth ticket to expire
Declaration
[DataMember(Name = "remainingAuthSeconds")]
public double SecondsUntilTimeout { get; set; }
Property Value
Type |
Description |
System.Double |
|
View Source
StartContentIds
The user's calculated start nodes based on the start nodes they have assigned directly to them and via the groups
they're assigned to
Declaration
[DataMember(Name = "startContentIds")]
public int[] StartContentIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
StartMediaIds
The user's calculated start nodes based on the start nodes they have assigned directly to them and via the groups
they're assigned to
Declaration
[DataMember(Name = "startMediaIds")]
public int[] StartMediaIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
UserGroups
Declaration
[DataMember(Name = "userGroups")]
public string[] UserGroups { get; set; }
Property Value
Type |
Description |
System.String[] |
|