I'm assuming you're using DF user ID as a primary key in some other DB to store user specific data?
I just made a pull request to put an example on the offical DF GitHub repository, but sometimes they are kind of slow to merge.
You can see it here: