View Source
Interface IUser
Defines the interface for a User
Assembly: Umbraco.Core.dll
Syntax
public interface IUser : IMembershipUser, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties
View Source
AllowedSections
Declaration
IEnumerable<string> AllowedSections { get; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
Avatar
Will hold the media file system relative path of the users custom avatar if they uploaded one
Declaration
string Avatar { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Groups
Gets the groups that user is part of
Declaration
IEnumerable<IReadOnlyUserGroup> Groups { get; }
Property Value
View Source
InvitedDate
Declaration
DateTime? InvitedDate { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
View Source
Kind
Declaration
UserKind Kind { get; set; }
Property Value
View Source
Language
Declaration
string Language { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Name
Declaration
string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ProfileData
Exposes the basic profile data
Declaration
IProfile ProfileData { get; }
Property Value
View Source
SessionTimeout
Declaration
int SessionTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
StartContentIds
Declaration
int[] StartContentIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
Declaration
int[] StartMediaIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
UserState
Declaration
UserState UserState { get; }
Property Value
Methods
View Source
AddGroup(IReadOnlyUserGroup)
Declaration
void AddGroup(IReadOnlyUserGroup group)
Parameters
View Source
ClearGroups()
Declaration
View Source
RemoveGroup(String)
Declaration
void RemoveGroup(string group)
Parameters
Type |
Name |
Description |
System.String |
group |
|