all

I have a question about android 6 permission. If user deny to grant permission, user cannot use some function in my app. How can i use code to guide user to app permission setting in system setting app, so that user can open this permission. I don't find related method. Can you help me about this?
thanks