[% account_sp_entityid = account.get('sp_entityid') %] [% account_id = account.get('id') %] [% SET account_profile = { 'type' => 'Student', 'comment' => 'A PhD student, having three values set for eduPersonAffiliation: "member" and "student" and "faculty".', 'internal_uid' => "${account_id}", 'uid' => "${account_id}", 'eduPersonAffiliation' => ['member', 'student','faculty'], 'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}","student@${conf.idp_scope}","faculty@${conf.idp_scope}"], 'displayName' => 'Damiën Kuijper', 'cn' => 'Damiën Kuijper', 'mail' => "damien.kuijper@${conf.idp_scope}", 'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}", 'schacHomeOrganization' => "${conf.idp_scope}", 'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other', } %]