Add user ID and group ID as vertex properties.