Gets a User/Role

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

Syntax

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

Parameters

portalId
Type: System..::..Int32
The Id of the Portal
userId
Type: System..::..Int32
The Id of the user
roleId
Type: System..::..Int32
The Id of the Role

Return Value

A UserRoleInfo object

See Also