Click or drag to resize
AvatarInfoProviderClearDefaultAvatar Method (DefaultAvatarTypeEnum, Boolean, Boolean)
Clears specified default avatar type from all avatars.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static void ClearDefaultAvatar(
	DefaultAvatarTypeEnum type,
	bool onlyDefaultAvatarCache,
	bool logWebFarm
)

Parameters

type
Type: CMS.MembershipDefaultAvatarTypeEnum
Default avatar type
onlyDefaultAvatarCache
Type: SystemBoolean
If true clears only default avatar cache
logWebFarm
Type: SystemBoolean
Enables or disables webfarm task logging
See Also