Class UserSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class UserSearch : Search, IEntity
- Inheritance
-
UserSearch
- Implements
- Inherited Members
Constructors
UserSearch()
Initializes a new instance of the UserSearch class.Constructor.
public UserSearch()
UserSearch(Id?)
Initializes a new instance of the UserSearch class.Constructor.
public UserSearch(Id? id)
Parameters
id
IdThe user Id.
Properties
AuthenticationType
Gets or sets search for Users who are associated with this UserAuthenticationType.
public UserAuthenticationType? AuthenticationType { get; set; }
Property Value
- UserAuthenticationType?
UserAuthenticationType The authentication type of the user.
AuthenticationTypes
Gets or sets search for Users who are associated with these UserAuthenticationTypes.
public List<UserAuthenticationType>? AuthenticationTypes { get; set; }
Property Value
CompanyGroups
Gets or sets search for Users who are a member of this GroupSearch. Available GroupSearch options are:.
public List<GroupSearch>? CompanyGroups { get; set; }
Property Value
- List<GroupSearch>
IList<T> The list of company groups.
DriverGroupFilterCondition
Gets or sets for Driver group list search.
public GroupFilterCondition? DriverGroupFilterCondition { get; set; }
Property Value
DriverGroups
Gets or sets search for Users who are assigned a Driver Key which is a member of the GroupSearch. Available
GroupSearch options are:.
public List<GroupSearch>? DriverGroups { get; set; }
Property Value
- List<GroupSearch>
A list of IList<T> representing driver groups.
EmployeeNumber
Gets or sets search for a User who is associated with this Driver Employee Number. Wildcard can be used by prepending/appending "%" to string. Example "%EmployeeNumber%". This property is negatable. If the first character of this search property is '!', then the API will know to negate the search logic. (e.g. field = "!EmployeeNumber%", is equivalent to: WHERE NOT LIKE 'EmployeeNumber%')
public string? EmployeeNumber { get; set; }
Property Value
FirstName
Gets or sets search for Users with this first name. Wildcard can be used by prepending/appending "%" to string. Example "%firstName%". This property is negatable. If the first character of this search property is '!', then the API will know to negate the search logic. (e.g. field = "!John%", is equivalent to: WHERE NOT LIKE 'John%')
public string? FirstName { get; set; }
Property Value
FromDate
Gets or sets search for Users that were active at this date or after. Set to UTC now to search for only currently active (non-archived) users.
public DateTime? FromDate { get; set; }
Property Value
HosRuleSet
Gets or sets search for Users who are associated with this HosRuleSet.
public HosRuleSet? HosRuleSet { get; set; }
Property Value
- HosRuleSet?
HosRuleSet The HOS rule set of the driver.
HosRuleSets
Gets or sets search for Users who are associated with these HosRuleSets.
public List<HosRuleSet>? HosRuleSets { get; set; }
Property Value
IsDriver
Gets or sets only search for Users who have a Driver Key assigned.
[Obsolete("Use UserSearchType")]
public bool? IsDriver { get; set; }
Property Value
KeyId
Gets or sets search for a User who is associated with this Driver Key Id.
public long? KeyId { get; set; }
Property Value
Keywords
Gets or sets search for entities that contain specific keywords in all wildcard string-searchable fields.
public IList<string>? Keywords { get; set; }
Property Value
LastLogin
Gets or sets for LastLogin search. Must be used with LastLoginComparator. If user's UserAuthenticationType is 'MyAdmin' and LastLoginComparator is 'After', user is returned regardless of LastLogin criteria. If user's UserAuthenticationType is 'MyAdmin' and LastLoginComparator is 'Before', user is not returned regardless of LastLogin criteria.
public DateTime? LastLogin { get; set; }
Property Value
LastLoginComparator
Gets or sets for DateTimeComparator for LastLogin search.
public DateTimeComparator? LastLoginComparator { get; set; }
Property Value
LastName
Gets or sets search for Users with this last name. Wildcard can be used by prepending/appending "%" to string. Example "%lastName%". This property is negatable. If the first character of this search property is '!', then the API will know to negate the search logic. (e.g. field = "!John%", is equivalent to: WHERE NOT LIKE 'John%')
public string? LastName { get; set; }
Property Value
LicenseNumber
Gets or sets search for a User who is associated with this Driver License Number. Wildcard can be used by prepending/appending "%" to string. Example "%LicenseNumber%". This property is negatable. If the first character of this search property is '!', then the API will know to negate the search logic. (e.g. field = "!LicenseNumber%", is equivalent to: WHERE NOT LIKE 'LicenseNumber%')
public string? LicenseNumber { get; set; }
Property Value
Name
Gets or sets search for Users with this email/log-on name. Wildcard can be used by prepending/appending "%" to string. Example "%name%". This property is negatable. If the first character of this search property is '!', then the API will know to negate the search logic. (e.g. field = "!John%", is equivalent to: WHERE NOT LIKE 'John%')
public string? Name { get; set; }
Property Value
SecurityGroups
Gets or sets search for Users who are assigned to a specific Security Clearance which is a member of the GroupSearch. Available GroupSearch options are:.
public List<GroupSearch>? SecurityGroups { get; set; }
Property Value
- List<GroupSearch>
A list of IList<T> representing driver groups.
SerialNumber
Gets or sets search for a User who is associated with this Driver Serial Number.
public string? SerialNumber { get; set; }
Property Value
ToDate
Gets or sets search for Users that were active at this date or before.
public DateTime? ToDate { get; set; }
Property Value
UserGroupFilterCondition
Gets or sets for user group list search.
public GroupFilterCondition? UserGroupFilterCondition { get; set; }
Property Value
UserIds
Gets or sets search for Users with these unique Id(s). Not Supported for searching for users, only for TachographDataFile.
public IEnumerable<Id>? UserIds { get; set; }
Property Value
UserSearchType
Gets or sets for UserSearchType search.
public UserSearchType? UserSearchType { get; set; }