Class UserInfo
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.12.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()
See Also
Properties
CanLogon
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual bool CanLogon { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
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 |
See Also
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 |
See Also
GrantedLicenses
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual string[] GrantedLicenses { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
See Also
PersonId
Owning person record
Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Rank
Rank order
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
See Also
RoleName
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual string RoleName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
RoleTooltip
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual string RoleTooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Tooltip
Tooltip or other description
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
UserGroupId
Primary group membership, see UserGroupLink for secondary memberships
Declaration
[DataMember]
public virtual int UserGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
UserGroupName
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual string UserGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
UserGroupTooltip
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual string UserGroupTooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
UserInfoId
Primary key
Declaration
[DataMember]
public virtual int UserInfoId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
UserName
Initials, also login name, possibly database user name
Declaration
[DataMember]
public virtual string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
UserType
Carrier object for UserInfo. Services for the UserInfo Carrier is available from the User Agent.
Declaration
[DataMember]
public virtual UserType UserType { get; set; }
Property Value
| Type | Description |
|---|---|
| UserType |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
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. |