Show / Hide Table of Contents

Class UserInfo

Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.

Inheritance
object
UserInfo
Namespace: SuperOfficeCRMServices
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class UserInfo : Carrier
Examples

Get UserInfo 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new UserAgent();
   var userInfo = agent.GetUserInfo( 123 );
}

Constructors

UserInfo()

Default constructor

Declaration
public UserInfo()

Properties

CanLogon

Declaration
[DataMember]
public virtual bool CanLogon { get; set; }
Property Value
Type Description
bool

Deleted

If true, the user is retired and should have no rights, not appear in lists, etc.

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool

EjUserId

ID of the ej user record corresponding to this associate; 0 for associates that are not ej users

Declaration
[DataMember]
public virtual int EjUserId { get; set; }
Property Value
Type Description
int

GrantedLicenses

Declaration
[DataMember]
public virtual string[] GrantedLicenses { get; set; }
Property Value
Type Description
string

PersonId

Owning person record

Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
Type Description
int

Rank

Rank order

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short

RoleName

Declaration
[DataMember]
public virtual string RoleName { get; set; }
Property Value
Type Description
string

RoleTooltip

Declaration
[DataMember]
public virtual string RoleTooltip { get; set; }
Property Value
Type Description
string

Tooltip

Tooltip or other description

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string

UserGroupId

Primary group membership, see UserGroupLink for secondary memberships

Declaration
[DataMember]
public virtual int UserGroupId { get; set; }
Property Value
Type Description
int

UserGroupName

Declaration
[DataMember]
public virtual string UserGroupName { get; set; }
Property Value
Type Description
string

UserGroupTooltip

Declaration
[DataMember]
public virtual string UserGroupTooltip { get; set; }
Property Value
Type Description
string

UserInfoId

Primary key

Declaration
[DataMember]
public virtual int UserInfoId { get; set; }
Property Value
Type Description
int

UserName

Initials, also login name, possibly database user name

Declaration
[DataMember]
public virtual string UserName { get; set; }
Property Value
Type Description
string

UserType

Declaration
[DataMember]
public virtual UserType UserType { get; set; }
Property Value
Type Description
SuperOffice.License.UserType

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also

IUserAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top