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>, ISet<String>, ISet<IGranularPermission>, Boolean)
Declaration
public ReadOnlyUserGroup(int id, Guid key, string name, string icon, int? startContentId, int? startMediaId, string alias, IEnumerable<int> allowedLanguages, IEnumerable<string> allowedSections, ISet<string> permissions, ISet<IGranularPermission> granularPermissions, 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 |
|
ISet<System.String> |
permissions |
|
ISet<IGranularPermission> |
granularPermissions |
|
System.Boolean |
hasAccessToAllLanguages |
|
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
GranularPermissions
Declaration
public ISet<IGranularPermission> GranularPermissions { get; }
Property Value
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
Key
Declaration
Property Value
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Permissions
Declaration
public ISet<string> Permissions { get; }
Property Value
Type |
Description |
ISet<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 |
|