Click or drag to resize
TransformationMethodsGetUserAvatarImageUrl Method
Returns user avatar image URL.

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

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
(Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist) OR (Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image max. side size) OR (Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image max. side size; Image width) OR (Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image max. side size; Image width; Image height) OR (Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image max. side size; Image width; Image height; User e-mail)

Return Value

Type: Object
See Also