getting the properties of a servic

I want to get the properties like files which refer to WM properties (ports,
extended settings, scheduled tasks, users, acls, groups)

how can i get that

I didn’t understand the “like files” part, but if you are looking for a way to get extended setting, ports etc info, you can try some WmRoot services …
like wm.server.query:getExtendedSettings, wm.server.access:allUserList, etc