The easy solution is to make the long and short names in OD the same. Keep in mind that even then users can choose to long with a UNC or UPN syntax which will also get returned by the get(accountname), but at least then it's easily parsed down to the short name.
Thanks. But the names need to be as stated. It makes sense that FMS/FMP can/should not be able to know alternative names for this user. Any aliases to the real name that is good for OD is good for FileMaker.
There was no security issue or anything, just convenience to the user: if they log in using full (real) name, this name can be used for salutation in letters etc. But for internal messaging, they prefer using initials. I have provided a feature that makes them create internal to-do items for themselves and colleagues.
Great to see some action in this forum. I often find it hard to use searches that return threads/answers from 2010 and older.