Ant Organisation Ltd documentation

RelationshipProvider.GetRelationshipsForUser Method (AuthenticatedUser, User, RelationshipDirection, RelationshipType)

Gets the all relationships for the user, based on the direction

ArrayList GetRelationshipsForUser(
   AuthenticatedUser user,
   User related,
   RelationshipDirection direction,
   RelationshipType type
);

Parameters

user
User who is authorised to retrieve relationships
related
User for who to retrieve relationships
direction
Direction of relationships that are returned
type
Type of relationship to retrieve

Return Value

Collection of relationships

See Also

RelationshipProvider Interface | Ant.Security Namespace | RelationshipProvider.GetRelationshipsForUser Overload List