文章 UsersListOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class UsersListOptions
{
	string AccountStatus { get; set;  }
	string ContentIds { get; set;  }
	string EmailAddress { get; set;  }
	bool IncludeHidden { get; set;  }
	DateTime? JoinDate { get; set;  }
	DateTime? LastUpdatedUtcDate { get; set;  }
	int? PageIndex { get; set;  }
	int? PageSize { get; set;  }
	int? RoleId { get; set;  }
	string SortBy { get; set;  }
	string SortOrder { get; set;  }
	string Usernames { get; set;  }
}

属性

名称

类型

描述

默认值

选项

AccountStatus

string

Used to filter by user account status. Optional Parameter

ContentIds

string

Comma separated list of ContentIds. Used to limit to a specific set of users as well as sort order if SoryBy is set to ContentIdsOrder. Optional parameter

EmailAddress

string

Used to limit to a specific user based on email address. Optional parameter

IncludeHidden

bool

By default 'hidden' users (like service accounts) will not be returned. Set IncludeHidden=true to return all users. Optional parameter

JoinDate

DateTime?

Used to limit to just users who have joined since the specified date. Optional parameter

LastUpdatedUtcDate

DateTime?

Last updated date in the UTC.

PageIndex

int?

Specify the page number of paged results to return. Zero-based index. Optional parameter

0

PageSize

int?

Specify the number of results to return per page. Optional parameter

20

RoleId

int?

Role Id

SortBy

string

Sort by. Optional parameter

JoinedDate, Username, DisplayName, Website, LastActiveDate, Posts, Email, RecentPosts, Score:SCORE_ID, ContentIdsOrder

SortOrder

string

Sort order. Optional parameter

Usernames

string

Used to limit to a specific set of users. Optional parameter