Users.getContactTypes (Method)
Returns zero or more structures, each containing information about a user's contact type categories.
Returns:
Users_GetContactTypes_Result (query)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
Description | PlainText_2000 | The contact type's description. |
ID | ContactTypeID | The contact type's ID. |
IsActive | Boolean | Boolean flag which when set to true indicates that the contact type is active. |
IsDefault | Boolean | Boolean flag which when set to true indicates that this contact type is the default. |
Name | PlainText_NonNull_255 | The contact type's name. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ContactTypeID_0 | Optional. Defaults to '0'. | The ID of the contact types being retrieved. If this value is 0, CommonSpot returns all contact types. |
state | GeneralStateFilter | Optional. Defaults to 'All'. | The contact type's state: 'Active', 'Inactive', or 'All'. |
Context:
License Requirements | None |
Permission Requirements | ContributorOrServerCode |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
None
Notes:
None