Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Assigns a user to a role by using an optional segregation of duties (SOD) conflict resolution UI.
Syntax
client server public static boolean assignUserToRole(SecurityUserRole _userRole, [Object _caller])
Run On
Called
Parameters
- _userRole
Type: SecurityUserRole Table
The securityUserRole instance to be inserted.
- _caller
Type: Object Class
The calling form.
Return Value
Type: boolean
true if a record is inserted; otherwise, false.
Remarks
If the specified calling form is null Nothing nullptr unit a null reference (Nothing in Visual Basic) the UI is not displayed and the SOD conflicts are not resolved.
The calling code must not be in a transaction.