summaryM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)
Namespace: DotNetNuke.Security.RolesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public void AddUserRole( int portalId, int userId, int roleId, DateTime effectiveDate, DateTime expiryDate ) |
Visual Basic |
---|
Public Sub AddUserRole ( portalId As Integer, userId As Integer, roleId As Integer, effectiveDate As DateTime, expiryDate As DateTime ) |
Parameters
- portalId
- Type: System..::..Int32
paramportalIdM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)
- userId
- Type: System..::..Int32
paramuserIdM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)
- roleId
- Type: System..::..Int32
paramroleIdM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)
- effectiveDate
- Type: System..::..DateTime
parameffectiveDateM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)
- expiryDate
- Type: System..::..DateTime
paramexpiryDateM:DotNetNuke.Security.Roles.RoleController.AddUserRole(System.Int32,System.Int32,System.Int32,System.DateTime,System.DateTime)