Class UserListItem
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public sealed class UserListItem : ListItemBase<UserList.UserListQuery>
Constructors
UserListItem(UserListQuery, SoDataReader)
Declaration
public UserListItem(UserList.UserListQuery query, SoDataReader reader)
Parameters
Properties
CanLogon
Declaration
public bool CanLogon { get; }
Property Value
Deleted
If true, the user is retired and should have no rights, not appear in lists, etc.
Declaration
public bool Deleted { get; }
Property Value
EjUserId
ID of the ej user record corresponding to this associate; 0 for associates that are not ej users
Declaration
[Obsolete("Will always return 0.")]
public int EjUserId { get; }
Property Value
GrantedLicenses
Declaration
[Obsolete("Will always return null.")]
public string[] GrantedLicenses { get; }
Property Value
PersonId
Declaration
public int PersonId { get; }
Property Value
Rank
Declaration
public short Rank { get; }
Property Value
RoleId
Declaration
public int RoleId { get; }
Property Value
RoleName
Declaration
public string RoleName { get; }
Property Value
Declaration
public string RoleTooltip { get; }
Property Value
Tooltip or other description
Declaration
public string Tooltip { get; }
Property Value
UserGroupId
Primary group membership, see UserGroupLink for secondary memberships
Declaration
[Obsolete("Will always return 0.")]
public int UserGroupId { get; }
Property Value
UserGroupName
Declaration
public string UserGroupName { get; }
Property Value
Declaration
public string UserGroupTooltip { get; }
Property Value
UserInfoId
Declaration
public int UserInfoId { get; }
Property Value
UserName
Initials, also login name, possibly database user name
Declaration
public string UserName { get; }
Property Value
UserType
Declaration
public UserType UserType { get; }
Property Value
| Type |
Description |
| UserType |
|
Methods
GetUserListItemAsync(int, CancellationToken)
Get a UserListItem provided primary key
Declaration
public static Task<UserListItem> GetUserListItemAsync(int associateId, CancellationToken cancellationToken = default)
Parameters
Returns
| Type |
Description |
| Task<UserListItem> |
If found, UserListItem, else null is returned.
|
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.UserList.UserListQuery>.Initialize()
Load(UserListQuery, SoDataReader)
Responsible for reading the current row in the data reader and insert the value in the right part ob the object.
Declaration
protected override void Load(UserList.UserListQuery query, SoDataReader reader)
Parameters
Overrides
Extension Methods