How would a script be written that accomplishes the following task? In this scenario, UserA would be selected with the Modify user action, then UserB would be input to add required permissions. If it would be possible to select or search for "UserB" instead of inputting "UserB" that would be a more desireable solution.
Add-MailboxFolderPermission -Identity UserA:\Calendar -User UserB -AccessRights reviewer
I've already created a homepage action with a customized imput, although being able to browse to select the user object, or search for the user object would be nicer. Now I'm attempting to complete the business rule that runs the script to allow reviewer permissions on UserA's calendar for UserB