summaryM:DotNetNuke.Security.Roles.Internal.TestableRoleController.GetRole(System.Int32,System.Func{DotNetNuke.Security.Roles.RoleInfo,System.Boolean})

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

Syntax

C#
public RoleInfo GetRole(
	int portalId,
	Func<RoleInfo, bool> predicate
)
Visual Basic
Public Function GetRole ( 
	portalId As Integer,
	predicate As Func(Of RoleInfo, Boolean)
) As RoleInfo

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Security.Roles.Internal.TestableRoleController.GetRole(System.Int32,System.Func{DotNetNuke.Security.Roles.RoleInfo,System.Boolean})
predicate
Type: System..::..Func<(Of <(<'RoleInfo, Boolean>)>)>
parampredicateM:DotNetNuke.Security.Roles.Internal.TestableRoleController.GetRole(System.Int32,System.Func{DotNetNuke.Security.Roles.RoleInfo,System.Boolean})

Return Value

returnsM:DotNetNuke.Security.Roles.Internal.TestableRoleController.GetRole(System.Int32,System.Func{DotNetNuke.Security.Roles.RoleInfo,System.Boolean})

Implements

IRoleController..::..GetRole(Int32, Func<(Of <<'(RoleInfo, Boolean>)>>))

See Also