Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

How to find portalId
Last Post 07/12/2013 12:17 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brian Jensen
New Member
New Member
Posts:1


--
07/09/2013 7:48 AM
Hi

I'm trying to use the webservice DMXService.asmx and getting an error when calling GetPortalCollectionList. Now I wonder how to see with PortalId I can set on LoginCredentials. Any idea where I can find it

Code:
var loginCredentials = new LoginCredentials {Username = "XXX", Password = "XXX", PortalId = 0};

var test = service.GetPortalCollectionlist(loginCredentials);

Best regards

Brian Jensen
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
07/12/2013 12:17 PM
The PortalID is an integer that DNN uses to identify the portal. You can find it in the Portals table in SQL for instance.

Peter
You are not authorized to post a reply.