View Source
Class ReadOnlyUserGroup
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ReadOnlyUserGroup : IReadOnlyUserGroup, IEquatable<ReadOnlyUserGroup>
Constructors
View Source
ReadOnlyUserGroup(Int32, String, String, Nullable<Int32>, Nullable<Int32>, String, IEnumerable<String>, 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 |
|
System.Collections.Generic.IEnumerable<System.String> |
allowedSections |
|
System.Collections.Generic.IEnumerable<System.String> |
permissions |
|
Properties
View Source
Alias
Declaration
public string Alias { get; }
Property Value
Type |
Description |
System.String |
|
View Source
AllowedSections
Declaration
public IEnumerable<string> AllowedSections { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
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.Collections.Generic.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 |
|