Use this data source to get a user data structure.
data "nexus_security_user" "admin" {
userid = "admin"
}
userid
(String) The userid which is required for loginemail
(String) The email address associated with the user.firstname
(String) The first name of the user.id
(String) Used to identify data source at nexuslastname
(String) The last name of the user.roles
(Set of String) The roles which the user has been assigned within Nexus.status
(String) The user's status, e.g. active or disabled.