View Source
Interface IUserGroup
Assembly: Umbraco.Core.dll
Syntax
public interface IUserGroup : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties
View Source
Alias
Declaration
string Alias { get; set; }
Property Value
View Source
AllowedLanguages
Declaration
IEnumerable<int> AllowedLanguages { get; }
Property Value
| Type |
Description |
| IEnumerable<int> |
|
View Source
AllowedSections
Declaration
IEnumerable<string> AllowedSections { get; }
Property Value
| Type |
Description |
| IEnumerable<string> |
|
View Source
GranularPermissions
Declaration
ISet<IGranularPermission> GranularPermissions { get; set; }
Property Value
View Source
HasAccessToAllLanguages
If this property is true it will give the group access to all languages
Declaration
bool HasAccessToAllLanguages { get; set; }
Property Value
View Source
Icon
Declaration
string? Icon { get; set; }
Property Value
View Source
Name
Declaration
string? Name { get; set; }
Property Value
View Source
Permissions
The set of permissions provided by the frontend.
Declaration
ISet<string> Permissions { get; set; }
Property Value
| Type |
Description |
| ISet<string> |
|
View Source
StartContentId
Declaration
int? StartContentId { get; set; }
Property Value
View Source
Declaration
int? StartMediaId { get; set; }
Property Value
View Source
UserCount
Specifies the number of users assigned to this group
Declaration
Property Value
Methods
View Source
AddAllowedLanguage(int)
Declaration
void AddAllowedLanguage(int languageId)
Parameters
| Type |
Name |
Description |
| int |
languageId |
|
View Source
AddAllowedSection(string)
Declaration
void AddAllowedSection(string sectionAlias)
Parameters
| Type |
Name |
Description |
| string |
sectionAlias |
|
View Source
ClearAllowedLanguages()
Declaration
void ClearAllowedLanguages()
View Source
ClearAllowedSections()
Declaration
void ClearAllowedSections()
View Source
RemoveAllowedLanguage(int)
Declaration
void RemoveAllowedLanguage(int languageId)
Parameters
| Type |
Name |
Description |
| int |
languageId |
|
View Source
RemoveAllowedSection(string)
Declaration
void RemoveAllowedSection(string sectionAlias)
Parameters
| Type |
Name |
Description |
| string |
sectionAlias |
|