AsUserId Parameter (Connect-Box Cmdlet)
Specifies the Box user ID to impersonate when making API calls. Only supported for Admin, Co-Admin, or Service Accounts.
Syntax
Connect-Box -AsUserId string
Data Type
cstr
Default Value
""
Remarks
If you set this property, the cmdlet uses the Box as-user header to act on behalf of the specified user.
This property only works when authenticated with an Admin, Co-Admin, or Service Account.
If a user ID is also provided in a pseudo-column or a stored procedure parameter, those values take precedence over this property.