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
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.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