View Source
Class ReadOnlyUserGroup
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ReadOnlyUserGroup : IReadOnlyUserGroup
Constructors
View Source
ReadOnlyUserGroup(Int32, Guid, String, String, Nullable<Int32>, Nullable<Int32>, String, IEnumerable<Int32>, IEnumerable<String>, Nullable<IEnumerable<String>>, Boolean)
Declaration
public ReadOnlyUserGroup(int id, Guid key, string name, string icon, int? startContentId, int? startMediaId, string alias, IEnumerable<int> allowedLanguages, IEnumerable<string> allowedSections, IEnumerable<string>? permissions, bool hasAccessToAllLanguages)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Guid |
key |
|
System.String |
name |
|
System.String |
icon |
|
System.Nullable<System.Int32> |
startContentId |
|
System.Nullable<System.Int32> |
startMediaId |
|
System.String |
alias |
|
IEnumerable<System.Int32> |
allowedLanguages |
|
IEnumerable<System.String> |
allowedSections |
|
System.Nullable<IEnumerable<System.String>> |
permissions |
|
System.Boolean |
hasAccessToAllLanguages |
|
View Source
ReadOnlyUserGroup(Int32, String, String, Nullable<Int32>, Nullable<Int32>, String, IEnumerable<Int32>, IEnumerable<String>, Nullable<IEnumerable<String>>, Boolean)
Declaration
public ReadOnlyUserGroup(int id, string name, string icon, int? startContentId, int? startMediaId, string alias, IEnumerable<int> allowedLanguages, IEnumerable<string> allowedSections, IEnumerable<string>? permissions, bool hasAccessToAllLanguages)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
name |
|
System.String |
icon |
|
System.Nullable<System.Int32> |
startContentId |
|
System.Nullable<System.Int32> |
startMediaId |
|
System.String |
alias |
|
IEnumerable<System.Int32> |
allowedLanguages |
|
IEnumerable<System.String> |
allowedSections |
|
System.Nullable<IEnumerable<System.String>> |
permissions |
|
System.Boolean |
hasAccessToAllLanguages |
|
View Source
ReadOnlyUserGroup(Int32, String, String, Nullable<Int32>, Nullable<Int32>, String, IEnumerable<String>, Nullable<IEnumerable<String>>)
Declaration
public ReadOnlyUserGroup(int id, string name, string icon, int? startContentId, int? startMediaId, string alias, IEnumerable<string> allowedSections, IEnumerable<string>? permissions)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
name |
|
System.String |
icon |
|
System.Nullable<System.Int32> |
startContentId |
|
System.Nullable<System.Int32> |
startMediaId |
|
System.String |
alias |
|
IEnumerable<System.String> |
allowedSections |
|
System.Nullable<IEnumerable<System.String>> |
permissions |
|
Properties
View Source
Alias
Declaration
public string Alias { get; }
Property Value
Type |
Description |
System.String |
|
View Source
AllowedLanguages
Declaration
public IEnumerable<int> AllowedLanguages { get; }
Property Value
Type |
Description |
IEnumerable<System.Int32> |
|
View Source
AllowedSections
Declaration
public IEnumerable<string> AllowedSections { get; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
HasAccessToAllLanguages
Declaration
public bool HasAccessToAllLanguages { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Icon
Declaration
public string Icon { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
Property Value
Type |
Description |
System.Int32 |
|
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Permissions
The set of default permissions
Declaration
public IEnumerable<string>? Permissions { get; set; }
Property Value
Type |
Description |
System.Nullable<IEnumerable<System.String>> |
|
View Source
StartContentId
Declaration
public int? StartContentId { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
Declaration
public int? StartMediaId { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(ReadOnlyUserGroup)
Declaration
public bool Equals(ReadOnlyUserGroup other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(ReadOnlyUserGroup, ReadOnlyUserGroup)
Declaration
public static bool operator ==(ReadOnlyUserGroup left, ReadOnlyUserGroup right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(ReadOnlyUserGroup, ReadOnlyUserGroup)
Declaration
public static bool operator !=(ReadOnlyUserGroup left, ReadOnlyUserGroup right)
Parameters
Returns
Type |
Description |
System.Boolean |
|