Skip to content

Trying to create users but search is returning two users similar names #135

@sclewis23

Description

@sclewis23

I'm using users_create_remote, but I noticed a failure when it says it finds two users.
I'm using AD, and searching based on sAMAccountName, so I thought it would return only one.
Names are very similar:
Name sAMAccountName
Hui Li hui1.li
Hui Liu hui1.liu

Any why to only select exact match ?
connectapi::users_create_remote(connect = client, prefix = "hui1.li", expect = 1, check = T)

notice the error faults too:
Found 2 remote users. Expected 1
Error in glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, :
Expecting '}'

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions