I'm working with JWT auth using the .NET SDK and I'm having and issue using the GetEnterpriseUsersAsync() method. I get an exception stating insufficient permissions, but I'm unsure as to what needs to be modified to obtain the correct permissions. Can somebody assist?
var config = BoxConfig.CreateFromJsonFile(S);
var boxJWT = new BoxJWTAuth(config);
var adminToken = boxJWT.AdminToken();
var adminClient = boxJWT.AdminClient(adminToken);
var boxUsers = await adminClient.UsersManager.GetEnterpriseUsersAsync(userType: "all");
Please sign in to leave a comment.