C# Check permissions: can user copy a test folder
public void CanCopyTestFolder()
{
  ActionPermission actPerimission;
  actPerimission = (ActionPermission)tdConnection.ActionPermission;
  if (actPerimission.ActionEnabled["ac_copy_folder"])
  {
    //current user allowed to copy test folder
  }
  else
  {
    //current user not allowed to add copy test folder
  }
}