The following parameters apply to the getAccessTypeForContact method:
|
Parameter |
Type |
Description |
|---|---|---|
|
SID |
Integer |
Identifies the session retrieved from logging in. |
|
ContactHandle |
String |
Identifies the contact handle upon which to query. |
Description
Returns a handle for the Access Type for a Contact.
Every Contact is assigned an Access Type object, which defines a Contact’s permissions and security. Note the access_type field on a Contact is not required. To accommodate this, a single Access Type is marked as the default for Contacts who do not have an object specifically assigned.
This method returns the Access Type directly assigned to a Contact (that is, the information to which the access_type field points in the Contact record) or it returns the default. Typical value methods, such as getObjectValues() or getListValues(), may not return the correct Access type; therefore, these are not the accurate methods for retrieving the Contact’s Access.
Returns
A string handle for an Access Type object.
|
Copyright © 2013 CA.
All rights reserved.
|
|