diff --git a/.idea/misc.xml b/.idea/misc.xml
index eefea33..c468476 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/.idea/sourcesync.xml b/.idea/sourcesync.xml
new file mode 100644
index 0000000..bd0f632
--- /dev/null
+++ b/.idea/sourcesync.xml
@@ -0,0 +1,14 @@
+
+
+
+
\ No newline at end of file
diff --git a/main.py b/main.py
index 9314805..756a779 100644
--- a/main.py
+++ b/main.py
@@ -77,6 +77,18 @@ async def getvolume(get: CL.CL_GET_VOLUMES,api_key: APIKey = Depends(auth.get_ap
volume.append(i)
return volume
+@app.post("/info/getuser")
+async def getvolume(get: CL.CL_GET_VOLUMES,api_key: APIKey = Depends(auth.get_api_key)):
+ result = database(f"SELECT disbaled FROM `Active-Directory-RDS-User` where `SamAccountName` = '{get.name}'",f"{get.database}","")
+ volume = []
+ if not result:
+ return False
+ else:
+ for i in result:
+ volume.append(i)
+ return volume
+
+
@app.post("/info/getclient")
async def getclient(get: CL.CL_GET_CLIENT,api_key: APIKey = Depends(auth.get_api_key)):
result = database(f"SELECT Firma FROM `Kunden-Clients` where `Client-Name` = '{get.name}'","Stines-GmbH","")