# getUserInfo API change
### Details
We will update our [getUserInfo API](https://open.feishu.cn/document/uYjL24iN/ucjMx4yNyEjL3ITM) to support the implementation of Personal Information Protection Law, so that user consent will be needed when the updated API is called. Meanwhile, we will remove the province field, retaining the country and city fields to manage region-related information.

Take effect along with version update: Yes<br>
Effective upon: V5.2.0<br>
Effective date：2021-12-10<br>

### Impacts
For the client of V5.2.0 and above, if your app calls the API, users will receive a popup asking for consent when they open your app for the first time. <br>
If a user does not consent, his/her basic info (alias, avatar, gender, region, etc.) will not be returned. 
### How to adapt to the change
You can call the [openSetting API](https://open.feishu.cn/document/uYjL24iN/uUzMx4SNzEjL1MTM) to open the page of permission settings and guide users to give consent. Please do the following to accommodate this update:
1. Modify the configurations so as to be compatible with the situation where users do not consent;
2. Revise the business logic relying on the province field (if any).

<br> If you need any help, please contact Customer Support.