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

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

Syntax

C#
public RoleInfo GetRoleByName(
	int portalId,
	string roleName
)
Visual Basic
Public Function GetRoleByName ( 
	portalId As Integer,
	roleName As String
) As RoleInfo

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Security.Roles.RoleController.GetRoleByName(System.Int32,System.String)
roleName
Type: System..::..String
paramroleNameM:DotNetNuke.Security.Roles.RoleController.GetRoleByName(System.Int32,System.String)

Return Value

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

Implements

IRoleController..::..GetRoleByName(Int32, String)

See Also