Make new entourage delegated user

Hi All

I want to be able to create a script for Entourage that will prompt for a username and then add that username to current users delegated accounts. This would short cut the process of having to go to “Entourage Setings” selecting my account, clicking on delegate and adding the user’s mailbox who I want to check.

What I currently have so far is this:


property delegateUser : ""
repeat while delegateUser is ""
	display dialog "Enter the username of the user you wish delgate for:" default answer "enter user here"
	set delegateUser to text returned of result
end repeat

try
	tell application "Microsoft Entourage"
		launch
		activate
		make new delegated account with properties {name:delegateUser & "@tld.com", account:delegateUser & "@tld.com"}
	end tell
end try
set delegateUser to ""

could someone help me with the syntax for the ‘make new delegated account’ part?
currently nothing happens.
thank you.