![]() ![]() ![]() |
||
|
Gets the gateways permit mode from the IM server. The permit mode determines whether all users can get the gateways online state information, or whether the server uses a permit list or a deny list to control which users get state information.
string = getPermitMode()
addDeny, addPermit, getDenyList, getPermitList, removeDeny, removePermit, setPermitMode, Using the GatewayHelper object in Using the Instant Messaging Event Gateways in ColdFusion MX Developers Guide
The gateways permit mode; one of the following values:
Mode |
Description |
---|---|
PERMIT_ALL |
(Default) Permits all users to be aware of the gateways online presence and state. |
PERMIT_SOME |
Permits only users in the permit list to be aware of the gateways online presence and state. |
DENY_SOME |
Prevents the users in the deny list from being aware of the gateways online presence and state. |
Note: XMPP permission management is included in the XMPP 1.0 draft specification, but several XMPP servers that were available at the time of the ColdFusion MX 7 release do not support permission management. If the server does not support permission management, this function always returns PERMIT_ALL.
See GatewayHelper example, in Using the Instant Messaging Event Gateways in ColdFusion MX Developers Guide, which uses all GatewayHelper class methods.
|
||
![]() ![]() ![]() |