The UserRelationship class defines the membership of the relationship. The user initiating the relationship is UserId. The target of the relationship is RelatedUserId. Status tracks relationship status as Initiated, Approved, Rejected etc.

Namespace: DotNetNuke.Entities.Users.Social
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[SerializableAttribute]
public class UserRelationship : BaseEntityInfo, 
	IHydratable
Visual Basic
<SerializableAttribute>
Public Class UserRelationship
	Inherits BaseEntityInfo
	Implements IHydratable

Inheritance Hierarchy

System..::..Object
  DotNetNuke.Entities..::..BaseEntityInfo
    DotNetNuke.Entities.Users.Social..::..UserRelationship

See Also