BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

BeforeAddUserRole event

This event occurs when the user has entered a new role assignment.

Syntax
Private Sub AMUIExtension_BeforeAddUserRole(
          ByVal CurrentObject As Object,
          ByVal UserOrUsergroup As String,
          ByVal UserRole As AmOm.IAMUserRole,
          Abort As Boolean)
Parameters
Name Description

CurrentObject

The enclosure for which assignments are changed (AMFolder object or AMWorkPackage object).

UserOrUsergroup

The user or group to which a role is assigned.

UserRole

The UserRole that is assigned.

Abort

Setting this argument to True will abort the operation. The AfterAddUserRole event will not occur.

Remarks

The new assignment will actually be applied after the CloseAssignRoles event.

Copyright © 2000-2012 BlueCielo ECM Solutions