UserPolicy

data class UserPolicy(val isAdministrator: Boolean, val isHidden: Boolean, val enableCollectionManagement: Boolean = false, val enableSubtitleManagement: Boolean = false, val enableLyricManagement: Boolean = false, val isDisabled: Boolean, val maxParentalRating: Int? = null, val blockedTags: List<String>? = null, val allowedTags: List<String>? = null, val enableUserPreferenceAccess: Boolean, val accessSchedules: List<AccessSchedule>? = null, val blockUnratedItems: List<UnratedItem>? = null, val enableRemoteControlOfOtherUsers: Boolean, val enableSharedDeviceControl: Boolean, val enableRemoteAccess: Boolean, val enableLiveTvManagement: Boolean, val enableLiveTvAccess: Boolean, val enableMediaPlayback: Boolean, val enableAudioPlaybackTranscoding: Boolean, val enableVideoPlaybackTranscoding: Boolean, val enablePlaybackRemuxing: Boolean, val forceRemoteSourceTranscoding: Boolean, val enableContentDeletion: Boolean, val enableContentDeletionFromFolders: List<String>? = null, val enableContentDownloading: Boolean, val enableSyncTranscoding: Boolean, val enableMediaConversion: Boolean, val enabledDevices: List<String>? = null, val enableAllDevices: Boolean, val enabledChannels: List<UUID>? = null, val enableAllChannels: Boolean, val enabledFolders: List<UUID>? = null, val enableAllFolders: Boolean, val invalidLoginAttemptCount: Int, val loginAttemptsBeforeLockout: Int, val maxActiveSessions: Int, val enablePublicSharing: Boolean, val blockedMediaFolders: List<UUID>? = null, val blockedChannels: List<UUID>? = null, val remoteClientBitrateLimit: Int, val authenticationProviderId: String, val passwordResetProviderId: String, val syncPlayAccess: SyncPlayUserAccessType)

Constructors

Link copied to clipboard
constructor(isAdministrator: Boolean, isHidden: Boolean, enableCollectionManagement: Boolean = false, enableSubtitleManagement: Boolean = false, enableLyricManagement: Boolean = false, isDisabled: Boolean, maxParentalRating: Int? = null, blockedTags: List<String>? = null, allowedTags: List<String>? = null, enableUserPreferenceAccess: Boolean, accessSchedules: List<AccessSchedule>? = null, blockUnratedItems: List<UnratedItem>? = null, enableRemoteControlOfOtherUsers: Boolean, enableSharedDeviceControl: Boolean, enableRemoteAccess: Boolean, enableLiveTvManagement: Boolean, enableLiveTvAccess: Boolean, enableMediaPlayback: Boolean, enableAudioPlaybackTranscoding: Boolean, enableVideoPlaybackTranscoding: Boolean, enablePlaybackRemuxing: Boolean, forceRemoteSourceTranscoding: Boolean, enableContentDeletion: Boolean, enableContentDeletionFromFolders: List<String>? = null, enableContentDownloading: Boolean, enableSyncTranscoding: Boolean, enableMediaConversion: Boolean, enabledDevices: List<String>? = null, enableAllDevices: Boolean, enabledChannels: List<UUID>? = null, enableAllChannels: Boolean, enabledFolders: List<UUID>? = null, enableAllFolders: Boolean, invalidLoginAttemptCount: Int, loginAttemptsBeforeLockout: Int, maxActiveSessions: Int, enablePublicSharing: Boolean, blockedMediaFolders: List<UUID>? = null, blockedChannels: List<UUID>? = null, remoteClientBitrateLimit: Int, authenticationProviderId: String, passwordResetProviderId: String, syncPlayAccess: SyncPlayUserAccessType)

Properties

Link copied to clipboard
Link copied to clipboard
val allowedTags: List<String>? = null
Link copied to clipboard
val blockedChannels: List<UUID>? = null
Link copied to clipboard
Link copied to clipboard
val blockedTags: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A value indicating whether this instance can manage collections.

Link copied to clipboard
Link copied to clipboard
val enabledChannels: List<UUID>? = null
Link copied to clipboard
val enabledDevices: List<String>? = null
Link copied to clipboard
val enabledFolders: List<UUID>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A value indicating whether this user can manage lyrics.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A value indicating whether this instance can manage subtitles.

Link copied to clipboard

A value indicating whether enable synchronize.

Link copied to clipboard
Link copied to clipboard

A value indicating whether this instance is administrator.

Link copied to clipboard

A value indicating whether this instance is disabled.

Link copied to clipboard

A value indicating whether this instance is hidden.

Link copied to clipboard
Link copied to clipboard
val maxParentalRating: Int? = null

The max parental rating.

Link copied to clipboard
Link copied to clipboard

Enum SyncPlayUserAccessType.