Obtains a list of roles from the cache (or for the database if the cache has expired)
Namespace: DotNetNuke.Security.RolesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
IList<RoleInfo> GetRoles( int portalId ) |
Visual Basic |
---|
Function GetRoles ( portalId As Integer ) As IList(Of RoleInfo) |
Parameters
- portalId
- Type: System..::..Int32
The id of the portal