User Functions

These functions let you get details on users, and check whether a given user has permission to view a given content item.

Calling User Functions

You can use syntax of the form:

functionName()

to call these functions in your PHP code.

addUserToGroup()

Name in Zenario 8

ze\user::addToGroup()

Adds or removes an Extranet User from a Group.

checkPerm()

Name in Zenario 8

ze\content::checkPerm()

Checks whether the current Visitor has permissions to see a given Content Item

checkUserInGroup()

Name in Zenario 8

ze\user::checkUserInGroup()

Checks whether an Extranet User is in a given Group.

checkUserIsInSmartGroup()

Name in Zenario 8

ze\smartGroup::isUserIn()

Checks whether an extranet user is in a given smart group.

datasetFieldDisplayValue()

This gives you the display value of a field on a record in a dataset.