Hi I am trying to get DomainRole for server using windows APIs.
I know i can get using WMI classes, but wmic.exe ComputerSystem. would be preferred if we know Win32/msdn provided API .
Related
Using Ruby, I want to be able to connect to the Red Hat Identity Management System and retrieve a list of users that belong to a specific user group.
I know that you are able to get and search for users using the ipa command if you are on the server (as per the documentation in this link). However, I want to do this remotely like when you connect to an LDAP server.
Any suggestion how can I do that? can I do it through the LDAP library or interface in Ruby?
I am trying to create Azure Application Gateway with SSL certification. I have successfully created it using Azure Power-Shell.
Now I want to create it using Rest APIs so that I can use/call them in my code (ruby). My question is: Is there any Rest API exist to create AzureRM Application Gateway? Because I am not able to find any. I've gone through the following link
https://msdn.microsoft.com/en-us/library/azure/mt420159.aspx
It has the APIs present for Application Gateway but for classic mode not for RM mode.
Now I want to create it using Rest APIs so that I can use/call them in
my code (ruby). My question is: Is there any Rest API exist to create
AzureRM Application Gateway? Because I am not able to find any
There's a REST API but at this moment it is not documented and hence you are not able to find it. As a workaround, what you could do is run PowerShell Cmdlets with -Debug switch. Then you will see the request URL as well as request body sent to create an Application Gateway. You can use that in your ruby code.
I have an cloud sql instance up and running and have made a link using a jdbc driver to the instance ip using android studio project. I can successfully run queries from an ip address that I insert manually into the google cloud sql settings and not any other network. This makes my app accessible only from certain ip addresses. Is there a way i can authenticate my google cloud sql to all ip addresses. I do not wish to use the google app engine if possible as I believe it will only complicate my application. My app works well enough is there an easy way to access my sql from any network having supplied my username and password in the code itself?
You can use the console to authorize 0.0.0.0, which will allow connections from any IP address. However, this is not necessarily a good solution. If you embed your database's username and password in your Android app, it can be found by someone else taking apart the apk. If they do that, they will then have complete access to your database. It is more complicated, but you should put some kind of server in front of your database, and have the user authenticate with that server/application, and only have that server communicate directly with your database.
I want to develop an application that makes use of MSPN service. Is it necessary that my backend service be a cloud service
There would be no way to determine if a service is a cloud service or not (without being anti-competitive), so you should be able to use any web service, whether it is implemented using a cloud service such as Azure or not - as I understand it, for certification, it would have to be a web service, and not rely on something being installed on a PC on a private network.
No you dont need it to be a Cloud-Service, you can even implement your Push-Service in PHP or similar. But that has Limits, it cannot run periodically a Script or sth like that. All Push-Notifications have to be send manually.
To do this you need 2 Core-Components(In my example in PHP).
You have a Page on which the Phone-Application can register his MSPN Push-Uri, which then is stored into the Database.
A Page which takes the Uri(s) and then sends the Push-Notification to them
I manage my websites with ISPConfig 3.0.4. This is a great tool but I have problems with the FTP and database manager :
I create a lot of site every day, and it's very annoying to type username and password every time, save and share them to my partners.
How to make FTP & BDD passwords automatically generated ?
There is a way to email me these ?
Probably by scripting database_edit.php and ftp_user_edit.php files ?
In short, I am looking for a way to facilitate these tasks.
You can make you own script to create FTP & BDD users and then sending an email directly.
ISPConfig 3 delivers a remote API using SOAP Protocol.
Check out the API documentation which is in PHP : Ispconfig-API-Doc
You just have to create a remote user in the ISPconfig Panel and then connect to your server with the API. Then use functions delivered by the API for each registration you want to do.
I created a wrapper in Python using the remote API : Ispconfig remote API Wrapper