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

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Deprecated in DotNetNuke 7.3. This method has been replacd by GetRoleById")]
public RoleInfo GetRole(
	int roleId,
	int portalId
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("Deprecated in DotNetNuke 7.3. This method has been replacd by GetRoleById")> 
Public Function GetRole ( 
	roleId As Integer,
	portalId As Integer
) As RoleInfo

Parameters

roleId
Type: System..::..Int32
paramroleIdM:DotNetNuke.Security.Roles.RoleController.GetRole(System.Int32,System.Int32)
portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Security.Roles.RoleController.GetRole(System.Int32,System.Int32)

Return Value

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

See Also