Here is what i am trying to accomplish....i want the user to be able to click in self service and get user info such as what groups they are members of, their network home location etc.
the users exist in Active Directory so i used the dscl command to dump all user data for the console user to a tmp text file and then grep for the lines i want to use....that is all working! the problem lies in displaying the info in the GUI.
problem #1: the "jamf displayMessage" command seems to draw a message box of a fixed size, so if the user is a member of several groups they get cut off.
so...i used the applsescript "dislay dialoge" command. Problem solved.....until....
problem #2: the path to the users home directory from AD contains backslashes, one of which is followed by the letter "n" which applescript interprets as a new line command.
any ideas how to get AppleScript to ignore this, or a different way to output all this info to the screen?
thanks!