logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ak  
#1 Posted : Saturday, November 6, 2010 12:36:53 PM(UTC)
ak


Rank: Member

Joined: 10/28/2010(UTC)
Posts: 10
Location: US

Thanks: 2 times
Hi! I was wondering if anybody tried to create/modify a new host in Screen Connect from another system? A web api? We are not using LDAP but need to create/modify hosts automatically as they're created in our system. Thanks!

Jake  
#2 Posted : Monday, November 8, 2010 11:31:57 AM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
We've had customers create new ASP.NET membership providers that work with their systems. So you don't really even have to create the user in ScreenConnect but rather ScreenConnect uses your database. Here is the area of our web.config that you'll be messing with:

Code:
  <membership defaultProvider="Default">
   <providers>
    <clear />
    <add name="Default" type="Elsinore.ScreenConnect.XmlMembershipProvider" virtualFilePath="~/App_Data/User.xml" />
   </providers>
  </membership>
  <roleManager enabled="true" defaultProvider="Default">
   <providers>
    <clear />
    <add virtualFilePath="~/App_Data/User.xml" roles="Administrators,Hosts" name="Default" type="Elsinore.ScreenConnect.XmlFixedRoleProvider" />
   </providers>
  </roleManager>


You can also of course load users into the XML, but this is not as elegant.
ScreenConnect Team
ak  
#3 Posted : Wednesday, November 10, 2010 2:03:05 PM(UTC)
ak


Rank: Member

Joined: 10/28/2010(UTC)
Posts: 10
Location: US

Thanks: 2 times
Thanks Jake! I will post a code sample if we get it working.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.