Organization group#
The user’s organization.
Note
This matches the school owner group <./go_school_owner> for primary and secondary education.
Availability#
- Attribute group
To retrieve these groups, the application needs access to the
groups-orgattribute group / scope.- Organization type
This group type is available for higher education.
- Member list
It is possible to list the members in this group through the organization groups API.
It is not possible to list the members in this group through the user groups API.
Example#
{
"id": "fc:org:example.org",
"type": "fc:org",
"displayName": "Eksempeluniversitetet",
"membership": {
"basic": "admin",
"displayName": "Akademisk ansatt",
"affiliation": [
"member",
"employee",
"faculty"
],
"primaryAffiliation": "employee"
},
"public": false,
"orgType": [
"higher_education"
],
"eduOrgLegalName": "Eksempeluniversitetet AS",
"mail": "mail@example.org",
"norEduOrgNIN": "NO123456789"
}
Group object#
The group objects has the following fields:
id(required, string)Unique identifier of the group. This is a string with the format
fc:org:<realm>.<realm>is the domain name of the school owner.type(required, string)The group type. Always the string
fc:orgfor organizations in higher education.displayName(required, string)The name of the organization. This is a string.
membership(optional, object)The role of the current user in the group. This field is only present when requesting groups for a specific user.
public(required, boolean)Whether this group is included in the list of public groups. This is always
falsefor organizations in higher education.orgType(required, list of strings)A list of organization types for this organization. For organizations in higher education, this is always
["higher_education"].eduOrgLegalName(required, string)The official name of the organization.
It contains the
eduOrgLegalNameattribute in the organization object in the organization’s user directory.norEduOrgNIN(required, string)The organization number of the organization. This is the organization number from the Brønnøysund Register Centre (Brønnøysundregisteret), prefixed with
NO.It contains the
norEduOrgNINattribute in the organization object in the organization’s user directory.mail(required, string)The email address of the organization.
It contains the
mailattribute in the organization object in the organization’s user directory.
Optional group fields#
The following additional fields may be included from the organization object in the organization’s user directory: These fields are optional. If they are present, they will contain a single string.
eduOrgHomePageURIeduOrgIdentityAuthNPolicyURIeduOrgWhitePagesURIfacsimileTelephoneNumberllabeledURInorEduOrgAcronymnorEduOrgUniqueIdentifierpostalAddresspostalCodepostOfficeBoxstreettelephoneNumber
Membership objects#
The membership object describes the role of the user at the organization.
{
"basic": "admin",
"displayName": "Akademisk ansatt",
"affiliation": [
"member",
"employee",
"faculty"
],
"primaryAffiliation": "employee"
}
It has the following fields:
basic(required, string)The basic membership role of the user. This field is a string with one of the following values:
admin: For employees at the organization.member: If the user is not an employee. (E.g. students.)
This field is derived from the
affiliationfield. A user is considered an employee if theaffiliationlist contains theemployeevalue.displayName(required, string)A human-readable membership type. This field is derived from the
affiliationfield.It contains a plain string. Typical values are:
Akademisk ansattStabAnsattStudent
affiliation(required, list of strings)A list of affiliations for the user. Faculty commonly have the values
member,employee, andfaculty. Students havememberandstudent. Staff havemember,employee, andstaff.Note
A user can be both student and faculty at the same time. In this case, the user has both the
studentandfacultyaffiliations:{ "basic": "admin", "displayName": "Akademisk ansatt", "affiliation": [ "member", "employee", "faculty", "student", ] }
primaryAffiliation(optional, string)The primary affiliation of the user. This will be one of the values in the
affiliationlist.This field is only present if the user has the
eduPersonPrimaryAffiliationattribute in the organization’s user directory.title(optional, list of strings)The job title of the user. If the field is present, it will be a list with one or more strings.
This field is only present if the user has the
titleattribute in the organization’s user directory.