Gets a User/Role
Namespace: DotNetNuke.Security.RolesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public UserRoleInfo GetUserRole( int portalId, int userId, int roleId ) |
Visual Basic |
---|
Public Function GetUserRole ( portalId As Integer, userId As Integer, roleId As Integer ) As UserRoleInfo |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- userId
- Type: System..::..Int32
The Id of the user
- roleId
- Type: System..::..Int32
The Id of the Role