[% account_sp_entityid = account.sp_entityid() %]
[% account_id = account.id() %]

[% SET account_profile = {
	'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.",
  	'internal_uid' => "user${account_id}",
	'eduPersonAffiliation' => ['member', 'faculty'],
	'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}", "faculty@${conf.idp_scope}"],
        'displayName' => 'Stéphane Larivière - eduGAIN Access Check account',
        'cn' => 'Stéphane Larivière - eduGAIN Access Check account',
        'mail' => "stephane.lariviere@${conf.idp_scope}",
        'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
        'schacHomeOrganization' => "${conf.idp_scope}",
        'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
} %]