Skip to content
Snippets Groups Projects
researcher1.tt2 949 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' => 'Researcher',
	'comment' => 'No standard value for eduPersonAffiliation can be used to represent a researcher. Therefore you can't differenciate a teacher from a researcher.',
renater.salaun's avatar
renater.salaun committed
  	'uid' => "${account_id}",
	'eduPersonAffiliation' => ['member', 'faculty'],
	'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}", "faculty@${conf.idp_scope}"],
        'displayName' => 'Stéphane Larivière',
        'cn' => 'Stéphane Larivière',
        'mail' => "stephane.lariviere@${conf.idp_scope}",
renater.salaun's avatar
renater.salaun committed
        'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
        'eduPersonTargetedID' =>"${conf.idp_entityid}!${account_sp_entityid}!X622UR2A7PG1uVhATobBOrMz+Ys=",
        'schacHomeOrganization' => "${conf.idp_scope}",
        'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',