Widget with user assets

Widget with user assets

I need to create a widget with resources for a dashboard. The question is how to get the logged in user's ID so that after logging in he can see only his resources?
                New to ADManager Plus?

                  New to ADSelfService Plus?