Show / Hide Table of Contents

Class SoResource

SuperOffice CRM Resource Administration. Use static (VB: shared) methods to to instantiate objects.

Inheritance
Object
SoResource
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Administration
Assembly: SoDataBase.dll
Syntax
public sealed class SoResource
Remarks

Only users with administrative privileges is permitted to work with other users than the currently logged on user. This means that SuperOffice CRM administrators can manage all users.

Constructors

SoResource(Int32)

Declaration
public SoResource(int assId)
Parameters
Type Name Description
Int32 assId

Fields

_associateRow

The associate row to be saved

Declaration
public AssociateRow _associateRow
Field Value
Type Description
AssociateRow

Properties

Deleted

is the user deleted.

Declaration
public bool Deleted { get; set; }
Property Value
Type Description
Boolean

IsLocation

IsLocation

Declaration
public bool IsLocation { get; set; }
Property Value
Type Description
Boolean

LocationAddress

LoactionAddress

Declaration
public string LocationAddress { get; set; }
Property Value
Type Description
String

Name

Name.

Declaration
public string Name { get; set; }
Property Value
Type Description
String

Rank

Sort order rank. Only administrators can set.

Declaration
public short Rank { get; set; }
Property Value
Type Description
Int16

ResourceId

AssociateId of the user. This value is '0' until the user is created.

Declaration
public int ResourceId { get; }
Property Value
Type Description
Int32

Tooltip

Description / Tooltip. Only administrators can set.

Declaration
public string Tooltip { get; set; }
Property Value
Type Description
String

Methods

CreateNew()

Create a new user

Declaration
public static SoResource CreateNew()
Returns
Type Description
SoResource

A new instance of a user object. This object needs to be primed with appropriate data before saving

Remarks

Administration priviledges is required for creating new users.

GetFromId(Int32)

Declaration
public static SoResource GetFromId(int resourceId)
Parameters
Type Name Description
Int32 resourceId
Returns
Type Description
SoResource

Save()

Declaration
public void Save()

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