This commit is contained in:
Virtuworks 2014-06-12 11:12:43 -04:00
commit 6214077ad3
35 changed files with 3195 additions and 14 deletions

View file

@ -32,5 +32,6 @@ namespace WebsitePanel.Providers.HostedSolution
{
public const int OK = 0;
public const int AD_OBJECT_ALREADY_EXISTS = -1;
public const int MAPPED_DRIVE_ALREADY_EXISTS = -2;
}
}

View file

@ -26,6 +26,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using WebsitePanel.Providers.OS;
using WebsitePanel.Providers.ResultObjects;
namespace WebsitePanel.Providers.HostedSolution
@ -78,5 +79,17 @@ namespace WebsitePanel.Providers.HostedSolution
string GetSamAccountNameByUserPrincipalName(string organizationId, string userPrincipalName);
bool DoesSamAccountNameExist(string accountName);
MappedDrive[] GetDriveMaps(string organizationId);
int CreateMappedDrive(string organizationId, string drive, string labelAs, string path);
void DeleteMappedDrive(string organizationId, string drive);
void DeleteMappedDriveByPath(string organizationId, string path);
void DeleteMappedDrivesGPO(string organizationId);
void SetDriveMapsTargetingFilter(string organizationId, ExchangeAccount[] accounts, string folderName);
}
}