Skip to main content
Carrier object for Associate.

Constructors

NSAssociate()

Initializes a new instance of the NSAssociate class.

Methods

GetAssociateId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetDeleted()

Returns: CRMScript.Global.Bool - If true, the user is retired and should have no rights, not appear in lists, and so on. Example:

GetEjUserId()

Returns: CRMScript.Global.Integer - ID of the ej user record corresponding to this associate; 0 for associates that are not ej users. Example:

GetFormalName()

Returns: CRMScript.Global.String - The associate’s culture formatted formalname (firstname, middleName and lastname, title, mrmrs). Example:

GetFullName()

Returns: CRMScript.Global.String - The associate’s culture formatted fullname (firstname, middleName and lastname). Example:

GetGroupIdx()

Returns: CRMScript.Global.Integer - Primary group membership.
See the UserGroupLink database table reference for secondary memberships.
Example:

GetName()

Returns: CRMScript.Global.String - Initials, also login name, possibly database user name. Example:

GetPersonId()

Returns: CRMScript.Global.Integer - Owning person record. Example:

GetRank()

Returns: CRMScript.Global.Integer - Rank order. Example:

GetTooltip()

Returns: CRMScript.Global.String - Tooltip or other description. Example:

GetType()

Returns: CRMScript.Global.Integer - User type. See <xref href=“CRMScript.NetServer.AssociateType” data-throw-if-not-resolved=“false”></xref> Example:

GetUserName()

Returns: CRMScript.Global.String - User name. Example:

SetAssociateId(Integer)

Returns: CRMScript.Global.Void Example:

SetDeleted(Bool)

Returns: CRMScript.Global.Void Example:

SetEjUserId(Integer)

Returns: CRMScript.Global.Void Example:

SetFormalName(String)

Returns: CRMScript.Global.Void Example:

SetFullName(String)

Returns: CRMScript.Global.Void Example:

SetGroupIdx(Integer)

Returns: CRMScript.Global.Void
See the UserGroupLink database table reference for secondary memberships
Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetPersonId(Integer)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetTooltip(String)

Returns: CRMScript.Global.Void Example:

SetType(Integer)

Returns: CRMScript.Global.Void Example:

SetUserName(String)

Returns: CRMScript.Global.Void Example: