Show / Hide Table of Contents

Interface IUserInfoService

Namespace: SuperOffice.Security.Principal
Assembly: SoCore.dll
Syntax
public interface IUserInfoService

Methods

GetContactId(int)

Company of the associate's person

Declaration
int GetContactId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetContactOwnerId(int)

Owner (AssocaiteId) of the company that the user belongs to.

Declaration
int GetContactOwnerId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetCountryId(int)

Country id for the user.

Declaration
int GetCountryId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetEMailAddress(int)

The Person e-mail address if the associate is a person. Use IsPerson to check

Declaration
string GetEMailAddress(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string

GetEjAccessLevel(int)

eJournal user access level

Declaration
EjAccess GetEjAccessLevel(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
EjAccess

GetEjUserId(int)

Primary key in eJournal's old user table.

Declaration
int GetEjUserId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetEjUserStatus(int)

eJournal user status

Declaration
EjUserStatus GetEjUserStatus(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
EjUserStatus

GetFullName(int)

The Person full name if the associate is a person. Use IsPerson to check

Declaration
string GetFullName(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string

GetFunctionRights(int)

Functional rights for the user. This array is sorted so a lookup can be performed using BinarySearch(Array, int, int, object).

Declaration
string[] GetFunctionRights(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string[]

GetGroupId(int)

Associate's group_idx

Declaration
int GetGroupId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetHomeCountryId(int)

Country id for the user's home country. This is the default country id when creating new items.

Declaration
int GetHomeCountryId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetIsPerson(int)

Is this associate a person, and not a resource?

Declaration
bool GetIsPerson(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
bool

GetPersonId(int)

Associate's person id

Declaration
int GetPersonId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetRoleDescription(int)

Descrtiption (e.g. tooltip) for the users role

Declaration
string GetRoleDescription(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string

GetRoleId(int)

Id of the users role

Declaration
int GetRoleId(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int

GetRoleName(int)

Name of the users role

Declaration
string GetRoleName(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string

GetRoleType(int)

Type of user.

Declaration
RoleType GetRoleType(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
RoleType

GetSecondaryGroups(int)

Secondary user groups

Declaration
int[] GetSecondaryGroups(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
int[]

GetUserName(int)

UserName on associatetable. Same as SuperId from Online

Declaration
string GetUserName(int associateId)
Parameters
Type Name Description
int associateId
Returns
Type Description
string

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top