Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 03:30:13 +0000



Post From: Trying to setup DLL access

[2023-12-21 17:31:17]
KylieV1618 - Posts: 67
Im trying to setup DLL access, but I keep getting `false` as my value for access.
And my service number is always 0.

Running the following code...always executes the `return`



if (sc.IsUserAllowedForSCDLLName == false)
{
if (sc.Index == 0)
{
sc.AddMessageToLog("You are not allowed to use this study", 1);
}
return;
}
else
{
if (sc.Index == 0)
{
int slvl = (int)sc.DLLNameUserServiceLevel;
SCString Message;
Message.Format("SCDLLName Service Level: %i", slvl);
sc.AddMessageToLog(Message, 1);
if (slvl < 1)
{
sc.AddMessageToLog("You are not allowed to use this study.", 1);
return;
}
}
}


```

I would expect the first block to pass, because sc.IsUserAllowedForSCDLLName should be true. (cuz Im the main member of the DLL list)

but its not, and it fails and never gets to the Service level check.


I've rebooted 4 times, Ive tried `Force login`. Ive deleted the dll and made sure the download is working as it should.
Whats going on here??
Date Time Of Last Edit: 2023-12-22 00:07:17