add new userportal record (used for creating sites with existing user)

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void AddUserPortal(
	int portalId,
	int userId
)
Visual Basic
Public Shared Sub AddUserPortal ( 
	portalId As Integer,
	userId As Integer
)

Parameters

portalId
Type: System..::..Int32
portalid
userId
Type: System..::..Int32
userid

See Also