create_dn {EDIutils}R Documentation

Create a users distinguished name

Description

Create a users distinguished name

Usage

create_dn(userId, ou = "EDI")

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".

Value

(character) Distinguished name

See Also

Other Miscellaneous: create_data_package_archive(), is_authorized()

Examples

# 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

[Package EDIutils version 1.0.3 Index]