Media libraries API

Database tables

Database table

Description

Media_Library

Stores records representing media libraries.

Media_File

Stores records representing media files.

Media_LibraryRolePermission

Stores relationships between roles and media libraries. Each entry indicates that a roles has a specific permission for a media library.

API classes

Class

Namespace

Description

Media_Library table API

MediaLibraryInfo

CMS.MediaLibrary

Represents media libraries.

MediaLibraryInfoProvider

Provides management functionality for media libraries.

Media_File table API

MediaFileInfo

CMS.MediaLibrary

Represents files in media libraries.

MediaFileInfoProvider

Provides management functionality for media files.

Media_LibraryRolePermission table API

MediaLibraryRolePermissionInfo

CMS.MediaLibrary

Represents permission relationships between roles and media libraries.

WebPartLayoutInfoProvider

Provides management functionality for role-media library relationships.