Skip to content
Snippets Groups Projects
employee1.tt2 906 B
[% account_sp_entityid = account.get('sp_entityid') %]
[% account_id = account.get('id') %]

[% SET account_profile = {
	'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.',
  	'uid' => "${account_id}",
	'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}",
        'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
        'schacHomeOrganization' => "${conf.idp_scope}",
        'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
} %]