RoleListOptions class
namespace: Serenity.Abstractions assembly: Serenity.Net.Core
Options for listing roles with IRoleListService.
public class RoleListOptions
Public Members
| name | description |
|---|---|
| RoleListOptions() | The default constructor. |
| ContainsText { get; set; } | Gets or sets a text that the name or the key of the roles should contain, which is compared the way the database compares text, so it is case insensitive with the usual collations. All roles match when it is blank. |
| Take { get; set; } | Gets or sets the maximum number of roles to list, ordered by name. All roles are listed when it is zero or less. |
See Also
- Source: RoleListOptions.cs