summaryM:DotNetNuke.Security.Roles.RoleController.GetPortalRolesByUser(System.Int32,System.Int32)

Namespace: DotNetNuke.Security.Roles
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Deprecated in DotNetNuke 5.0. This function has been replaced by GetRolesByUser")]
public string[] GetPortalRolesByUser(
	int UserId,
	int PortalId
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("Deprecated in DotNetNuke 5.0. This function has been replaced by GetRolesByUser")> 
Public Function GetPortalRolesByUser ( 
	UserId As Integer,
	PortalId As Integer
) As String()

Parameters

UserId
Type: System..::..Int32
paramUserIdM:DotNetNuke.Security.Roles.RoleController.GetPortalRolesByUser(System.Int32,System.Int32)
PortalId
Type: System..::..Int32
paramPortalIdM:DotNetNuke.Security.Roles.RoleController.GetPortalRolesByUser(System.Int32,System.Int32)

Return Value

returnsM:DotNetNuke.Security.Roles.RoleController.GetPortalRolesByUser(System.Int32,System.Int32)

See Also