Home Reference Source
import {PermissionManager} from '@quobis/sippojs'
public class | source

PermissionManager

This class allows manager the permissions. To obtain an instance of the class {@linkSession#getPermissionManager} method must be used.

Member Summary

Public Members
public

Method Summary

Public Methods
public

Returns whether the conferences created by the user will be recorded

public

Returns if the user has permissions to set the conference record option

public

Returns if the VoiceMail is enabled or not to the user

Public Members

public permissionService: * source

Public Methods

public canAlwaysRecord(): boolean source

Returns whether the conferences created by the user will be recorded

Return:

boolean

Throw:

NotInitializedError

thrown when the PermissionManager was not initialized

public canSetRecordOption(): boolean source

Returns if the user has permissions to set the conference record option

Return:

boolean

Throw:

NotInitializedError

thrown when the PermissionManager was not initialized

public canUseVoiceMail(): boolean source

Returns if the VoiceMail is enabled or not to the user

Return:

boolean

Throw:

NotInitializedError

thrown when the PermissionManager was not initialized