Learn R Programming

EDIutils (version 2.1.0)

create_dn: Create a users distinguished name (defunct)

Description

This function is defunct. Distinguished names are deprecated in favor of EDI IDs. An EDI ID can be obtained from the EDI Identity and Access Manager (https://auth.edirepository.org/auth/ui/signin).

Usage

create_dn(userId, ou = "EDI")

Value

(character) Distinguished name

Arguments

userId

(character) User identifier of an EDI data repository account

ou

(character) Organizational unit in which userId belongs. Can be "EDI" or "LTER". All userId issued after "2020-05-01" have ou = "EDI".

See Also

Other Miscellaneous: create_data_package_archive(), is_authorized()

Examples

Run this code
if (FALSE) {
# For an EDI account
dn <- create_dn(userId = "my_userid", ou = "EDI")
dn

# For an LTER account
dn <- create_dn(userId = "my_userid", ou = "LTER")
dn
}

Run the code above in your browser using DataLab