View Source
Class UserGroupDto
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UserGroupDto
Constructors
View Source
UserGroupDto()
Declaration
Fields
View Source
KeyColumnName
Declaration
public const string KeyColumnName = "key"
Field Value
View Source
PrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
View Source
TableName
Declaration
public const string TableName = "umbracoUserGroup"
Field Value
Properties
View Source
Alias
Declaration
[Length(200)]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_umbracoUserGroup_userGroupAlias")]
public string? Alias { get; set; }
Property Value
View Source
CreateDate
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime CreateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
DefaultPermissions
Declaration
[Length(50)]
[NullSetting(NullSetting = NullSettings.Null)]
[Obsolete("Is not used anymore. Use UserGroup2PermissionDtos instead. Scheduled for removal in Umbraco 18.")]
public string? DefaultPermissions { get; set; }
Property Value
View Source
Description
Declaration
[SpecialDbType(SpecialDbTypes.NVARCHARMAX)]
[NullSetting(NullSetting = NullSettings.Null)]
public string? Description { get; set; }
Property Value
View Source
HasAccessToAllLanguages
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
public bool HasAccessToAllLanguages { get; set; }
Property Value
View Source
Icon
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public string? Icon { get; set; }
Property Value
View Source
Id
Declaration
[PrimaryKeyColumn(IdentitySeed = 6)]
public int Id { get; set; }
Property Value
View Source
Key
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.NewGuid)]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_umbracoUserGroup_userGroupKey")]
public Guid Key { get; set; }
Property Value
View Source
Name
Declaration
[Length(200)]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_umbracoUserGroup_userGroupName")]
public string? Name { get; set; }
Property Value
View Source
StartContentId
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[ForeignKey(typeof(NodeDto), Name = "FK_startContentId_umbracoNode_id")]
public int? StartContentId { get; set; }
Property Value
View Source
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[ForeignKey(typeof(NodeDto), Name = "FK_startMediaId_umbracoNode_id")]
public int? StartMediaId { get; set; }
Property Value
View Source
UpdateDate
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime UpdateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
UserCount
This is only relevant when this column is included in the results (i.e. GetUserGroupsWithUserCounts).
Declaration
public int UserCount { get; set; }
Property Value
View Source
UserGroup2AppDtos
Declaration
public List<UserGroup2AppDto> UserGroup2AppDtos { get; set; }
Property Value
View Source
UserGroup2GranularPermissionDtos
Declaration
public List<UserGroup2GranularPermissionDto> UserGroup2GranularPermissionDtos { get; set; }
Property Value
View Source
UserGroup2LanguageDtos
Declaration
public List<UserGroup2LanguageDto> UserGroup2LanguageDtos { get; set; }
Property Value
View Source
UserGroup2PermissionDtos
Declaration
public List<UserGroup2PermissionDto> UserGroup2PermissionDtos { get; set; }
Property Value