#NEWLINE# def create_mobile_account( ad_account ) : #NEWLINE# #INDENT# '\n    create_mobile_account()\n\n    Create a mobile managed AD account for the ad_account\n    ' #NEWLINE# managed_app = '/System/Library/CoreServices/ManagedClient.app/' #NEWLINE# unix_cma = 'Contents/Resources/createmobileaccount' #NEWLINE# shell_tools . run ( ( '%s%s -n %s' % ( managed_app , unix_cma , unix_cma ) ) ) #NEWLINE# make_admin ( ad_account )