AvatarInfoProviderDeleteAvatarFile Method |
Delete avatar file stored in the file system.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax 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