As simple as. Profile.getCurrentProfile().getId(). This assumes the user is already logged in.
Lee mas