PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns true if the current user has access to the given content type.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean security.contenttypes.allowed(integer contentType) boolean security.contenttypes.allowed(string contentTypeCodeOrIdentifier) |
Parameters
Name | Data Type | Description |
---|---|---|
contentType | Integer | The number of the content type. |
contentTypeCodeOrIdentifier | String | The code or id of the content type. |
Return Value
Data Type | Description |
---|---|
Boolean |