summaryM:DotNetNuke.Security.Roles.RoleProvider.GetRole(System.Int32,System.String)

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

Syntax

C#
[ObsoleteAttribute("Deprecated in DotNetNuke 6.2. Roles are cached in the business layer")]
public virtual RoleInfo GetRole(
	int portalId,
	string roleName
)
Visual Basic
<ObsoleteAttribute("Deprecated in DotNetNuke 6.2. Roles are cached in the business layer")> 
Public Overridable Function GetRole ( 
	portalId As Integer,
	roleName As String
) As RoleInfo

Parameters

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

Return Value

returnsM:DotNetNuke.Security.Roles.RoleProvider.GetRole(System.Int32,System.String)

See Also