Lockdown 2026

JB

Hi,

I'm building a new lockdown pre-auth and post auth with shared device login (Entra ID) (HTML coded)

Is it possible to also put a Macro in the lockdown to display information from the screen Lockdown Logged-In User?
i would like to display which user is currently logged-in on the device itself.

I also experience some issues with the Log Off functionality when a device should be put back in the cradle.

a month ago
SOTI MobiControl
ANSWERS
K
KJMOD@soti.net
a month ago

Hi Jordy,

Thanks for posting on SOTI Pulse.

You can create a support ticket for this issue so the team can review the template accordingly.

Kindly let me know if you would like me to proceed with creating the ticket for you.

Thank you for choosing SOTI.

Regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net

N
Nick
18 days ago

Hi Jordy,

Are you wanting to add this macro to the Lockdown Template?

Post Lockdown Policy - Template

I just use the Dynamic Android Lockdown provided by Soti, In there ive make the following changes so I can see DeviceName and Username who has signed in:

This is near the top of the template script, ive added username entry

// Show device IP Address
        var ip = false;
        // Show device Name
        var devicename = true;
        // Show Enrolled Username
        var username = true;
        // Show device MAC Address
        var mac = false;
        // Show device Serial Number
        var serialNumber = false;
        // Custom messages, additional macros, leave empty if not in use
        var customMessage1 = "";
        var customMessage2 = "";
        var customMessage3 = "";
        var customMessage4 = "";

Then find the 'if' statements down the bottom of script, and put in the macros

function RenderCustomData() {
            //if(ip) customDataArr.push("IP: %ip%");
            if(devicename) customDataArr.push("%DEVICENAME%");
            if (username) customDataArr.push("%ENROLLEDUSER_UPN%");
            //if(mac) customDataArr.push("MAC: %mac%");
            //if(serialNumber) customDataArr.push("Serial: %serialnum%");

Hope this makes sense