Class UserListItem
Assembly: SoDataBase.dll
Syntax
public sealed class UserListItem : ListItemBase<UserList.UserListQuery>
Constructors
UserListItem(UserList.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 |
SuperOffice.License.UserType |
|
Methods
GetUserListItem(Int32)
Get a UserListItem provided primary key
Declaration
public static UserListItem GetUserListItem(int associateId)
Parameters
Type |
Name |
Description |
Int32 |
associateId |
Associate id of the user
|
Returns
Type |
Description |
UserListItem |
If found, UserListItem, else null is returned.
|
Initialize()
Declaration
protected override void Initialize()
Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.UserList.UserListQuery>.Initialize()
Load(UserList.UserListQuery, SoDataReader)
Declaration
protected override void Load(UserList.UserListQuery query, SoDataReader reader)
Parameters
Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.UserList.UserListQuery>.Load(SuperOffice.CRM.Archives.UserList.UserListQuery, SuperOffice.Data.SoDataReader)
Extension Methods
EnumUtil.MapEnums<From, To>(From)