comanage-users - Re: [comanage-users] Bulk enrolling users via the REST API
Subject: COmanage Users List
List archive
- From: Benn Oshrin <>
- To: "Matthew X. Economou" <>
- Cc:
- Subject: Re: [comanage-users] Bulk enrolling users via the REST API
- Date: Tue, 23 May 2017 23:20:06 -0400
- Ironport-phdr: 9a23:z2JIPRdop+0FrB7sJ458u8mKlGMj4u6mDksu8pMizoh2WeGdxcS5bB7h7PlgxGXEQZ/co6odzbGH7Oa7ASdfuN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Lhi6twvcutUZjYZgN6o61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpGrhy/qRxxw43abo+bO/VxfKzSYdwUSHFdXstTTSFNHp+wYoUNAucHIO1Wr5P9p1wLrRamGASjGuXvyjlVjXHvxq060/4hEQDA3Ac9GN8Bq2rbrNPzNKcVSu21za/IzSndYPNM3zfy9pTIfg47rf6SQL1wbNPcxE8yHA3LiVWQrJbqPzKT1ukVsmib6fZgWvy1i24htQ5xviajyt0yhYbUm4IYzE3P+yZhwIstO9G0VE12bcSgHZZSrS2WKoV7Tt04T212pCo3yaUKtYOncCUJ0pgqyQLTZ+aZf4SV/B7vTvidLDh6iX9jZbmxnQy98VK6xe35TsS00EhFri5CktTUtnAN0BnT6smZRft45Eih2DKP2xnJ5exKI004j6XbJ4Q8zb4qiJUcq0HDHi/xmEXtkK+abFkr+u+t6+j/Y7XmoIGTN5Nshw3gLqgjmdazDOA6PwQUQmSW9/qw2Kf98UHlQ7hGlvg2nbPYsJDeK8QbvKm5AwpN34k49Rm/CTGm0NMDkHkGKlJFZAyIj5LvO17QPPD0E+2zjEqxnzd23/zGJKHuAo3RLnjfl7fsZapy60lZyAUpy9BQ/Z1UBa8YLPLuQU/+qsbYDgQiPgywwubnE8l91pgAVW6VA6+ZNr/SvkGS5uIpPeaMeJEZtCzjJPc4+v69xUM+zBU4dLW13ZYIIED+VtltJEOeZH3xyJ9VAWoMuRI+S+rCiUeeVzlcIXGoUPRvyCs8DdeMAIHFDqe2gKaA2m/vFJBQYGduC1aQHG3uepneHfoAdXTBcYdajjUYWO35GMca3ha0uVqixg==
I think these are the basic steps, ignoring associated models such as
Name (required by both OrgIdentity and CoPerson).
Note that if you are working with CSV and are on Registry v2.0.0 or
later, you can use the experimental (and somewhat basic) FileSource
plugin as an alternative to scripting over the rest API.
https://spaces.internet2.edu/display/COmanage/Organizational+Identity+Sources
https://spaces.internet2.edu/display/COmanage/File+Source
Thanks,
-Benn-
On 5/23/17 5:23 PM, Matthew X. Economou wrote:
> Dear all,
>
> I'm writing a Python script that loops through a CSV file containing a
> user listing (e.g., something generated by csvde.exe) and makes the
> appropriate API calls if someone with the same name doesn't already
> exist in the targeted CO. Is this the correct order of operations?
>
> 1. Add an OrgIdentity in the CO.
>
> 2. Add an Identifier linked to the above OrgIdentity.
>
> 3. Add a CoPerson in the CO.
>
> 4. Link the OrgIdentity and the CoPerson.
>
> 5. Add a CoPersonRole to the CoPerson.
>
> Best wishes,
> Matthew
>
- [comanage-users] Bulk enrolling users via the REST API, Matthew X. Economou, 05/23/2017
- Re: [comanage-users] Bulk enrolling users via the REST API, Benn Oshrin, 05/24/2017
Archive powered by MHonArc 2.6.19.