GetUserRoles gets a collection of User/Role objects from the Data Store
Namespace: DotNetNuke.Security.RolesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public override ArrayList GetUserRoles( int portalId, string userName, string roleName ) |
Visual Basic |
---|
Public Overrides Function GetUserRoles ( portalId As Integer, userName As String, roleName As String ) As ArrayList |
Parameters
- portalId
- Type: System..::..Int32
Id of the portal
- userName
- Type: System..::..String
The user to fetch roles for
- roleName
- Type: System..::..String
The role to fetch users for