cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create an instance class of userSelectorArg with parameters .NET V2

Create an instance class of userSelectorArg with parameters .NET V2

Filip J.1
New member | Level 1

I want to do the MembersGetInfoAsync(IEnumerable<UserSelectorArg>) but am wondering how to I create a new instance of the UserSelectorArg with an email of the user I want?

I can only find a constructor that takes 0 arguments but I want to create one with a specified email so that I may input it into the above function, or is there an easier way to specify information for a specific team member?

 

1 Reply 1

Re: Create an instance class of userSelectorArg with parameters .NET V2

Greg-DB
Dropboxer

You can use one of the subtypes of UserSelectorArg to construct the desired object. For example, to select a user using their email address, you can use UserSelectorArg.Email, which takes the email address as a string in the constructor.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?