Class Role

The Role class is a data structure describing an individual role associated with a group within the social platform.

Inheritance
System.Object
Role
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Groups.Core
Assembly: EPiServer.Social.Groups.Core.dll
Version: 1.5.4
Syntax
public class Role

Constructors

Role(RoleId, String)

Constructor

Declaration
public Role(RoleId id, string name)
Parameters
Type Name Description
RoleId id

The role id

System.String name

The role name

Role(String)

Constructor

Declaration
public Role(string name)
Parameters
Type Name Description
System.String name

The role name

Properties

Id

Gets the unique identifier for this role.

Declaration
public RoleId Id { get; }
Property Value
Type Description
RoleId

Name

Gets the name of the role.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
arrow_upward