Skip to content
Snippets Groups Projects
employee1.tt2 910 B
Newer Older
renater.salaun's avatar
renater.salaun committed
[% account_sp_entityid = account.get('sp_entityid') %]
[% account_id = account.get('id') %]

[% SET account_profile = {
renater.salaun's avatar
renater.salaun committed
	'type' => 'Employee',
	'comment' => 'There are conflicting definitions of "staff" and "employee" from country to country that make those values particularly unreliable in any international context. However in this example we set both values.',
renater.salaun's avatar
renater.salaun committed
	'eduPersonAffiliation' => ['member','staff','employee'],
	'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}","staff@${conf.idp_scope}","employee@${conf.idp_scope}"],
        'displayName' => 'Linnéa Hsu',
        'cn' => 'Linnéa Hsu',
        'mail' => "linnea.hsu@${conf.idp_scope}",
renater.salaun's avatar
renater.salaun committed
        'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
        'schacHomeOrganization' => "${conf.idp_scope}",
        'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
renater.salaun's avatar
renater.salaun committed
} %]