Class RoleAssignment
The RoleAssignment class describes the assignment relationship between a group member and a particular role.
Inheritance
System.Object
RoleAssignment
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.4Syntax
public class RoleAssignment
Constructors
RoleAssignment(MemberId, RoleId)
Constructor
Declaration
public RoleAssignment(MemberId member, RoleId role)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberId | member | ID of the member in the assignment |
| RoleId | role | ID of the role in the assignment |
Properties
Member
Gets the ID of the member to which the role is assigned.
Declaration
public MemberId Member { get; }
Property Value
| Type | Description |
|---|---|
| MemberId |
Role
Gets the ID of the role which is assigned to the member.
Declaration
public RoleId Role { get; }
Property Value
| Type | Description |
|---|---|
| RoleId |