We are new to azure but want to learn it and use it to host a MySQL database for our school project.
I have created a MySQL database within azure and added my friend as a member to both the resource group "RUC" and the MySQL database resource itself.
But he can't access it within his own azure portal. How is that.
We are both on the dreamspark subscription which is free for students :)
Once your friend has logged into portal.azure.com, if you click on the top right section where your username is, a dropdown mean will appear where your azure subscription will be at. He then has to click on it to be able to see the resource group.
If you dont see it then please check the user permission on the resourcegroup and make sure you have added him correctly.
Related
I was asked by a potential client if I can have my software interact with Esri/ArcGIS Online.
Use case: users is logged into SomeRandomSoftwareApp and is looking at a Widget, this Widget includes an Esri asset id, the user clicks a link that passes that ID to Esri/ArcGIS Online and behind the scenes the user is logged into Esri and they see the data associated with the Esri/ArcGIS Online.
Thanks, Keith
If I understand correctly, you have two options for this: API Keys or Application Credentials.
The first one, is a permanent token generated by the owner of the data that will allow the application easy access to it. This is still in beta, and it was not ready for use the last time I check some time ago.
The second one, the owner of the data will generate credentials for your application. With this credentials you will have to request a token each time you want to access the data, all this via OAuth 2.0.
Check the docs for more details ArcGIS Services - Security
I'm trying to use the WHMCS API / provisioning module to auto-create a mysql database for a new WHM / cPanel client after their order for hosting goes through.
It seems like it should be simple enough to do, but I can't find anything about it in the docs. The WHMCS module is connected to the WHMCS mysql instance, but I would want to be connecting the "main" local mysql instance where the client's data is held.
Would I simply connect to localhost in the provisioning module, and create a new database and user? Or is there a more robust way to handle this without going outside the WHMCS / WHM system.
Please provide examples if possible!
Thanks for any help
I would use whmcs's hooks. A hook is function that is fired as a result of an internal action.
You should look for the invoice items after the invoice is paid but before the email in case you want to send database information if not then after paid should be fine
This would go in billing dir / includes / hooks
and it would look like
function init_InvoicePaidPreEmail($vars) {
// create your db code here be sure to look for the specific invoice item "order for hosting"
}
add_hook("InvoicePaidPreEmail",1,"init_InvoicePaidPreEmail","");
I have a SQL Server instance using SQL Authentication only. I will have only two users and one database on this instance. The SA has a user name of XX. I have another user and lets say that user is X. And, in my create scripts, I am adding X as a user on the server and then on the one database that is there.
If XX is the SA (created when installing SQL Server) there is no need for me to explicitly map XX to any database, correct?
I am a little confused over the CREATE USER WITHOUT LOGIN. If the above is true would I ever need to script the addition of X to the one database WITHOUT LOGIN? What is the significance of WITHOUT LOGIN? Under what conditions would anyone what to do that?
Thank you.
Users without login were added to replace application roles.
Loginless users are usefull for impersonation, in order to gain necessary permissions. They allow users to authenticate to the instance with their own credentials, therefore making SQL Server able to audit activity to their login, while impersonating the loginless user on the database context.
Simple impersonation example:
SELECT SUSER_NAME(), USER_NAME();
GO
CREATE USER loginless_user_4test
WITHOUT LOGIN
GO
EXECUTE AS USER = 'loginless_user_4test'
GO
SELECT SUSER_NAME(), USER_NAME();
GO
REVERT --as long as you haven't issued "EXECUTE AS ... WITH NO REVERT", you can go back to previous context
GO
We have several Collections in our TFS 2010 server.
This server hosts all of our TFS related services.
I'd like to allow a specific programmer to create Team Projects within his dedicated collection.
He belongs to the collection's TFS administrators group.
When he tries to create a new Team Project, it fails with a Reporting permissions error.
I understand that he also needs Reporting services permissions to create the relevant Reporting objects for the new Team Project, but I don't want him to be a full admin for the whole server's Reporting Services.
Is there a way to allow him the full ability to create new Team Projects without making a full Reporting Services admin?
source:http://www.microsoft.com/download/en/details.aspx?id=8175
To grant administrative permissions for a team project collection in Reporting Services
Start Internet Explorer.
In the Address bar, type the following URL, where ReportServer is the name of the server that is running Reporting Services: http://ReportServer/Reports/Pages/Folder.aspx
Click the Properties tab, and then click New Role Assignment.
In Group or User Name, type the name of the account for the user or group to whom you want grant administrative permissions.
In Role, click Team Foundation Content Manager, and then click OK.
The one thing missing in the manual, is that you need to do this for /TfsReports/[collectionname] while setting stop security inheratence.
Currently, if we create a customer in the admin panel / backend of our site, that customer is unable to login using the email address we used in creating the customer profile. Even after resetting the password using a custom and self -generated one.
I looked at the database and noticed that customers’ emails that sign-in through the front are placed in the api_user table and customers created in the backend are placed in the customer_entity table.
Anyone know why this is? Is it a latency from 1.3.2 and is hiccuping from our upgrade to 1.4.0.?
Thanks again for any and all help.
Well dibbly do. I solved this issue by going into:
Configuration > Customer Configuration > Share Customer Accounts > Global
Then, in the backend admin account creation I made sure to select the proper store for the customer being created.