# currentMember.getMember failed with permission denied Error

**URL:** <https://forum.wixstudio.com/t/currentmember-getmember-failed-with-permission-denied-error/3279>\
**Category:** Ask the community\
**Tags:** wix-members-area, code, question\
**Created:** [March 15, 2023, 11:33pm UTC](https://forum.wixstudio.com/t/currentmember-getmember-failed-with-permission-denied-error/3279 "2023-03-15T23:33:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [July 4, 2024, 6:00pm UTC](https://forum.wixstudio.com/t/currentmember-getmember-failed-with-permission-denied-error/3279/4 "2024-07-04T18:00:37Z")

</div>

SupressAuth should have been replaced by the → ELEVATE-FUNCTION as i can remember.

And old JSW-Backend-Files replaced by webMethod.

Already checked it out?

Maybe this post will help you out…

> [@Elevate Backend Function](https://forum.wixstudio.com/t/elevate-backend-function/58961):
>
> Question: Can someone help me elevate this function so a Non-Admin member can call it. Product: Regular Editor → This function is in a backend .jsw file The main problem I’m facing is that when I call the function in the Testing-Environment it works properly and is returning either the NotOk or Ok, depending on the Member. But when I call it from a regular Member Demo-Account it gives me a permissions error, since the “Members/FullData” App-Database is Read: Admin (btw. in the Docs it say…

About webMethod…

> **[Velo Wix Web Module Introduction | VELO](https://dev.wix.com/docs/velo/api-reference/wix-web-module/introduction)**
>
> Introduction The Web Modules API allows you to define functions in your backend code that can be called from your site's frontend code. In order to call the function from the frontened, you need to define the necessary permissions. With web modules...

---

_[View the full topic](https://forum.wixstudio.com/t/currentmember-getmember-failed-with-permission-denied-error/3279)._
