ImpersonateUserMode Parameter (Connect-Dropbox Cmdlet)
Specifies the impersonation mode the provider uses when making API calls on behalf of a user or admin.
Syntax
Connect-Dropbox -ImpersonateUserMode string
Possible Values
User, Admin, NoneData Type
cstr
Default Value
"None"
Remarks
This property determines whether the cmdlet impersonates a team user or team admin in Dropbox Business.
If this property is set to User, the cmdlet includes the Dropbox-API-Select-User header to act on behalf of the user specified in ImpersonateUserId.
If this property is set to Admin, the cmdlet uses the Dropbox-API-Select-Admin header to act with team admin privileges on behalf of the specified user.
If this property is set to None, the cmdlet does not include impersonation headers and connects as the authorized user tied to the access token.
This property is required to enable impersonation and must be used in conjunction with ImpersonateUserId.