Displays a page of a list of users
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult UserManagement( int? userid, string username, string first, string last, string email, string status, string role, string sort, int? page, bool? descending )
Parameters
- userid
- Type: SystemNullableInt32
integer id of a specific user, limits list to 0 or 1 results when not null or >0 - username
- Type: SystemString
limits results to users with this keyword in their username - first
- Type: SystemString
limits results to users with this keyword in their first name - last
- Type: SystemString
limits results to users with this keyword in their last name - Type: SystemString
limits results to users with this keyword in their email address - status
- Type: SystemString
- role
- Type: SystemString
- sort
- Type: SystemString
field name to order results by - page
- Type: SystemNullableInt32
index of the page to be displayed (default 0) - descending
- Type: SystemNullableBoolean
order results in ascending or descending order (default false / ascending)
Return Value
Type: ActionResultView(Page<User>)
See Also