Moved sysdbuserobjects to its own function
Moved sysdbuserobjects to its own function

sqlpadawan/dbatools,dsolodow/dbatools,alevyinroc/dbatools,SirCaptainMitch/dbatools,Splaxi/dbatools,kozloski/dbatools,wsmelton/dbatools