You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

I Ladok finns ett internt StudentUID för varje student. Värdet kommer ursprungligen från UHR:s studenttjänst och samordnas med NyA/Antagning.se.

Från https://wiki.refeds.org/display/STAN/SCHAC+Releases:

#
# schacPersonalUniqueCode
#
# Descrip: Specifies a "unique code" for the subject it is associated with.
# Its value does not necessarily correspond to any identifier
# outside the scope of the directories using this schema.
#
# This might be Student number, Employee number,...
#
# Format: urn:mace:terena.org:schac:personalUniqueCode:<country-code>:<iNSS>
#
# - The <country-code> must be a valid two-letter ISO 3166 country
# code identifier or the string "int", and assigned by the TERENA
# URN Registry for this attribute at
# http://www.terena.org/registry/terena.org/schac/personalUniqueCode/
#
# - <iNSS> is a Namespace Specific String as defined in RFC 2141
# but case insensitive.
#
# Example: Common Values:
#
# urn:mace:terena.org:schac:personalUniqueCode:int:studentID:<country-code>:<code>
#
# National extensions:
#
# urn:mace:terena.org:schac:personalUniqueCode:fi:tut.fi:hetu:010161-995A
# urn:mace:terena.org:schac:personalUniqueCode:es:uma:estudiante:a3b123c12
# urn:mace:terena.org:schac:personalUniqueCode:se:LIN:87654321
#
attributetype ( schacAttributeType:14
NAME 'schacPersonalUniqueCode'
DESC 'unique code for the subject'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

StudentUID i Ladok är ett uuid, exempelvis 9e342e78-5b6c-4902-966e-50e28a21e601. Detta ska konverteras till uppercase och strippas på bindesträck. Resultat blir exvis 9E342E785B6C4902966E50E28A21E601.

schacPersonalUniqueCode blir då: urn:schac:PersonalUniqueCode:se:ESI:ladok.se:9E342E785B6C4902966E50E28A21E601 (77 tecken)

  • No labels