DeleteUserConfiguration method

Future<void> DeleteUserConfiguration(
  1. String name,
  2. FolderId parentFolderId
)
Deletes a UserConfiguration. Name of the UserConfiguration to retrieve. Id of the folder containing the UserConfiguration.

Implementation

Future<void> DeleteUserConfiguration(
  String name,
  FolderId parentFolderId,
) async {
  EwsUtilities.ValidateParam(name, "name");
  EwsUtilities.ValidateParam(parentFolderId, "parentFolderId");

  DeleteUserConfigurationRequest request = DeleteUserConfigurationRequest(
    this,
  );

  request.Name = name;
  request.ParentFolderId = parentFolderId;

  await request.Execute();
}