Click or drag to resize
IAvatarServiceGetAvatarUrl Method
Returns unresolved URL (starting with ~/) for avatar image specified by avatarId.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
string GetAvatarUrl(
	int avatarId,
	int maxSideSize,
	int width,
	int height
)

Parameters

avatarId
Type: SystemInt32
Avatar id
maxSideSize
Type: SystemInt32
Maximal side size value
width
Type: SystemInt32
Maximal width
height
Type: SystemInt32
Maximal height

Return Value

Type: String
See Also