System Level information.

Hi All,

I am working on one project where i need to access registration information of the operating system.

Following example may clear what i want to ask…

Windows operating system : Right click on My ComputerGeneral Tab
Registered to:
Name Of User
Company Name
xxx-xxx-xxxx-xxxx

I need name of user for operating system is register.

Thanks
Prem

You can get this info for both client and server with our tools plugin.
More info here: http://www.it2be.com/index.php/plugins- … ls-plug-in.

Don’t have Servoy running, so the exact syntax I do not know, but under the security node, there is a function to get the os user, if I’m not mistaken.

Paul

I don’t think Prem is looking for a system user but the name on the OS registration.
Not sure if Java has an API for that.

HI Robert,

You are right… i am looking for

ROCLASI:
name on the OS registration

.

I have also searched for the Java Api but didn’t get any thing. May be i am missing something…

Thanks
Prem

cmdinfo returns that information. run with application.executeProgram(…), parse the results to find what you’re looking for.

Would this link be useful?

One can create a very simple java code from your javascript to get the property username.
Or is this NOT what you really mean to get?

Tom