| DeleteEmployeeRoleSetup Method | |
| See Also Example |
- pIEmployeeRoleSetupParams
- The key of the role to be deleted
Deletes an existing employee role.
The role is specified by its key (TypeID), which is contained in the EmployeeRoleSetupParams object passed to the method.
| Visual Basic |
|---|
Public Sub DeleteEmployeeRoleSetup( _
ByVal pIEmployeeRoleSetupParams As EmployeeRoleSetupParams _
) |
- pIEmployeeRoleSetupParams
- The key of the role to be deleted
System roles -- those with their Locked field set to Y -- cannot be deleted.
Roles that have been assigned to an employee, via the EmployeeRolesInfo object, cannot be deleted.
| Deleting a role (C#) | Copy Code | |
|---|---|---|
| ||