AvatarInfoProviderDeleteAvatarFile Method |
Delete avatar file stored in the file system.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
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 wehther the method is called due to synchronization
See Also