Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / IUserRepository Interface / LoadForGroup Method / LoadForGroup(Int32,Int32,Int32,String) Method
The given GroupId
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
The sort expression to use for sorting the loaded objects.
Version
LoadForGroup(Int32,Int32,Int32,String) Method
Loads the User objects associated with the given GroupId
Syntax
[DataObjectMethod(DataObjectMethodType.Select)]
IList<User> LoadForGroup( 
   int groupId,
   int maximumRows,
   int startRowIndex,
   string sortExpression
)

Parameters

groupId
The given GroupId
maximumRows
Maximum number of rows to retrieve.
startRowIndex
Starting index from where to start retrieving.
sortExpression
The sort expression to use for sorting the loaded objects.

Return Value

A collection of User objects associated with with the given GroupId
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also