# slxSetAcntMgr

### slxSetAcntMgr(userName)

Set the account manager for records created. This sets the account manager for all tables, and overrides the default account manager specified in the connector.

### slxSetAcntMgr(userName, tableName)

Set the account manager of records created, for the table specified. This overrides the default account manager specified in the connector.

## Arguments

Argument | Data Type | Description
userName | string | Name of the account manager to use. This can be: 1. Full Name (John Smith from USERINFO.USERNAME) 2. Login (JohnS from USERSECURITY.USERCODE) 3. UserID (UQFAA00000J from USERINFO.USERID) 4. SecCodeDescription (Smith, John from SECCODE.SECCODEDESC) 5. SecCodeID (NQF8AA00000R from SECCODE.SECCODEID)
tableName | string | Name of the table to apply the user to. Other tables will use the default user specified in the connector

## Returns

Nothing

## Description

When a SalesLogix connector is specified, a default owner and default account manager for new records can be specified. When records are created, the CREATEUSER, MODIFYUSER and ACCOUNTMANAGERID fields are populated using the default account manager specified.

This function enables you to override the default set in the connector, either for a single table or for all tables.

## Examples

Example | Returns | Description
slxSetAcntMgr("Fred Smith") |  |

## See Also

slxGetAcntMgr(), slxGetOwnerID(), slxSetOwner()