This method gets a Dictionary of all the relationships that a User belongs to and the members of thase relationships.

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

Syntax

C#
IList<UserRelationship> GetUserRelationships(
	UserInfo user
)
Visual Basic
Function GetUserRelationships ( 
	user As UserInfo
) As IList(Of UserRelationship)

Parameters

user
Type: DotNetNuke.Entities.Users..::..UserInfo
The user

Return Value

A Dictionary of Lists of UserRelationship, keyed by the Relationship

See Also