Click or drag to resize
AvatarInfoProviderDeleteAvatarFile Method
Delete avatar file stored in the file system.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static void DeleteAvatarFile(
	string avatarGuid,
	string fileExtension,
	bool deleteDirectory,
	bool synchronization
)

Parameters

avatarGuid
Type: SystemString
Guid file to delete
fileExtension
Type: SystemString
Extension of the avatar file
deleteDirectory
Type: SystemBoolean
Determines whether delete specified directory or not
synchronization
Type: SystemBoolean
Indicates whether the method is called due to synchronization
See Also