Fetches all members of all groups that a user with ID=userid is a member of. Primarily used when SocialNetworkingMode is seto to "Group".

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual EntityCollection<AspnetUsersEntity> GetGroupMembersFromMyGroups(
	Guid userId,
	string stringToMatch,
	int pageIndex,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetGroupMembersFromMyGroups ( 
	userId As Guid,
	stringToMatch As String,
	pageIndex As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of AspnetUsersEntity)
Visual C++
public:
virtual EntityCollection<AspnetUsersEntity^>^ GetGroupMembersFromMyGroups(
	Guid userId, 
	String^ stringToMatch, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetGroupMembersFromMyGroups : 
        userId : Guid * 
        stringToMatch : string * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<AspnetUsersEntity> 
override GetGroupMembersFromMyGroups : 
        userId : Guid * 
        stringToMatch : string * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<AspnetUsersEntity> 

Parameters

userId
Type: System..::..Guid
User id for which to find all users.
stringToMatch
Type: System..::..String
String to match in the user name, used in search scenarios.
pageIndex
Type: System..::..Int32
Page index.
pageSize
Type: System..::..Int32
Page size.
recordCount
Type: System..::..Int32%
Total record count.

Return Value

Type: EntityCollection<(Of <(<'AspnetUsersEntity>)>)>
Collection of all members of all groups that a specific user is a member of.

Implements

IGroupRepository..::..GetGroupMembersFromMyGroups(Guid, String, Int32, Int32, Int32%)

See Also