Showing content from http://spacewalkproject.github.io/documentation/api/2.10/handlers/ChannelAccessHandler.html below:
( Return to API Overview ) Available methods
- disableUserRestrictions
- enableUserRestrictions
- getOrgSharing
- setOrgSharing
Description Provides methods to retrieve and alter channel access restrictions.
Namespace: channel.access
Method: disableUserRestrictions Description:
Disable user restrictions for the given channel. If disabled, all users within the organization may subscribe to the channel. Parameters:
- string sessionKey
- string channelLabel - label of the channel
Returns:
- int - 1 on success, exception thrown otherwise.
Method: enableUserRestrictions Description:
Enable user restrictions for the given channel. If enabled, only selected users within the organization may subscribe to the channel. Parameters:
- string sessionKey
- string channelLabel - label of the channel
Returns:
- int - 1 on success, exception thrown otherwise.
Method: getOrgSharing Description:
Get organization sharing access control. Parameters:
- string sessionKey
- string channelLabel - label of the channel
Returns:
- string - The access value (one of the following: 'public', 'private', or 'protected'.
Method: setOrgSharing Description:
Set organization sharing access control. Parameters:
- string sessionKey
- string channelLabel - label of the channel
- string access - Access (one of the following: 'public', 'private', or 'protected'
Returns:
- int - 1 on success, exception thrown otherwise.
Generated on 3/4/2020
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4