GetUserRole gets a User/Role object from the Data Store

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

Syntax

C#
public override UserRoleInfo GetUserRole(
	int portalId,
	int userId,
	int roleId
)
Visual Basic
Public Overrides Function GetUserRole ( 
	portalId As Integer,
	userId As Integer,
	roleId As Integer
) As UserRoleInfo

Parameters

portalId
Type: System..::..Int32
Id of the portal
userId
Type: System..::..Int32
The Id of the User
roleId
Type: System..::..Int32
The Id of the Role.

Return Value

The UserRoleInfo object

Remarks