Click or drag to resize
MediaLibraryMethodsGetMediaFileUrlWithCheck Method
Returns URL to media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.

Namespace: CMS.MediaLibrary.Web.UI
Assembly: CMS.MediaLibrary.Web.UI (in CMS.MediaLibrary.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static Object GetMediaFileUrlWithCheck(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
Method parameters

Return Value

Type: Object
See Also