This question has been answered by multiple community members. See the first response.

<?php
$parent = 12; /* set this to the ID of the parent folder */
$userId = $user->get('id');
$page = $modx->newObject('modResource');
$pagetitle = $user->get('username');
$page->set('createdby', $userId);
$page->set('pagetitle', $pagetitle);
$page->set('alias', $page->cleanAlias($pagetitle));
$page->save();$pagetitle = $user->get('username');$profile = $user->getOne('Profile');
$pagetitle = '';
if ($profile) {
$pagetitle = $profile->get('fullname');
}
/* Fall back to username if fullname is empty */
if (empty($pagetitle)) {
$pagetitle = $user->get('username');
}
[[!NewsPublisher?&show=`pagetitle,Kursart,Leitung,Bundesland,Land,Straße,PLZ,Ort,Beginn,Ende,Kursbeitrag,Kursunterlagen,Kursbeschreibung`
&template=`15`
&initdatepicker=`1`
&rtcontent=`1`
&rtsummary=`1`
&parentid=`39`
&published=`1`
&captions=`Bundesland:Angaben zum Kursort:<br><br>Bundesland:`
]]
Dear Ray,
I don't understand question 1. Do you mean access to edit them in NewsPublisher, access to them in the Manager, or access to them in the front end?
$( document ).ready(function() {
$('#np_submit_button').val("Veranstaltung erstellen");
$('#newspublisherHeader').html("Veranstaltung erstellen");
});$this->setPostback(isset($_POST['hidSubmit']) &&
$_POST['hidSubmit'] == 'true');