It does involve some legwork, but it's far from impossible. Please back everythng up, and be 100% sure it works properly before putting it live though. I take no responsibility for any future problems you may have
😉
Firstly, do you understand the basics of navigating around the underlying metadata? If not read this first
http://www2.sas.com/proceedings/forum2008/134-2008.pdf (Sorry to blow my own trumpet)
First you'll need to identify all of the appropriate objects and associations (I'd suggest you start with the 'Person' object, and have a dig around from there. You should get an understanding of all of the new objects you'll need to create and the existing ones you'll need to link to your new user (the authentication domain for example)
Now you just need to set up your XML request. Here's a very crude
request, just to highlight the basic principles ............
filename inXML temp ;
data _null_ ;
file inXML lrecl=2500 ;
put
"" /
" " /
" " / /* Create a new job, with a new id (note the $ tells us to create a new id */
" " /
" " / /* Put the new job under an existing tree */
" " /
" " /
" " /
" " / /* Create a new transformation Activity */
" " /
" " / /* Assosciate this TA with the 'new' job defined above */
" " /
" " /
" " /
" " /
" &reposid" /
" SAS" /
" 268435456" /
"" /
;
run ;
proc metadata in = inXML ;
run ;
Hope this all makes sense for you
Cheers
Paul