Class SoResource
SuperOffice CRM Resource Administration. Use static (VB: shared) methods to to instantiate objects.
Inherited Members
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(int)
SuperOffice CRM Resource Administration. Use static (VB: shared) methods to to instantiate objects.
Declaration
public SoResource(int assId)
Parameters
Type | Name | Description |
---|---|---|
int | assId |
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.
Fields
_associateRow
The associate row to be saved
Declaration
public AssociateRow _associateRow
Field Value
Type | Description |
---|---|
AssociateRow |
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.
Properties
Deleted
is the user deleted.
Declaration
public bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool |
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.
IsLocation
IsLocation
Declaration
public bool IsLocation { get; set; }
Property Value
Type | Description |
---|---|
bool |
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.
LocationAddress
LoactionAddress
Declaration
public string LocationAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Name
Name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Rank
Sort order rank. Only administrators can set.
Declaration
public short Rank { get; set; }
Property Value
Type | Description |
---|---|
short |
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.
ResourceId
AssociateId of the user. This value is '0' until the user is created.
Declaration
public int ResourceId { get; }
Property Value
Type | Description |
---|---|
int |
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.
Tooltip
Description / Tooltip. Only administrators can set.
Declaration
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
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(int)
SuperOffice CRM Resource Administration. Use static (VB: shared) methods to to instantiate objects.
Declaration
public static SoResource GetFromId(int resourceId)
Parameters
Type | Name | Description |
---|---|---|
int | resourceId |
Returns
Type | Description |
---|---|
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.
Save()
SuperOffice CRM Resource Administration. Use static (VB: shared) methods to to instantiate objects.
Declaration
public void Save()
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.