I'm looking for API documentation on how to interact with user accounts. For example, checking if a user exists, creating a user, updating a user, getting user properties. I've been to doc.sitecore.net but I still can't seem to find any of this documented. Is it documented and where can I find it? If it is not documented, what other resources can I access?
In 6.x versions, I see that some of the functionality I need is in Sitecore.Security.Accounts. However, I don't know if this is still current or if there is a better method for 8.1 and future versions.
The 6.x guidelines are still the most current, and as of 8.2, there has not been any major changes to that API, so the Security API Cookbook is still your best bet.
https://sdn.sitecore.net/Reference/Sitecore%206/Security%20API%20Cookbook.aspx
To my knowledge, this part hasn't been changed since Sitecore 6.x, so you should be safe to use this resource.
Related
I'm trying to use a Google API for a project, but I have a problem ;
Sometimes, there are versions like v1beta, v4.3, v2alpha2.5 etc, guessable but I don't want to bruteforce it to find the versions.
So I was wondering, how to list all available versions of an API without using the endpoint https://discovery.googleapis.com/discovery/v1/apis ?
Like a parameter for all individual APIs, would be cool to have a <api>.googleapis.com/$discovery/rest/versions
Thank you in advance.
I have been working with Google and Google Cloud APIs for more than a decade. There is no shortcut that I know of. Google does not publicize all API versions.
Knowing all available API versions will not do you any good in most cases. Some API versions require prior approval (whitelisting) to use them. Others might be in alpha status and should not be used except in certain situations. Some API versions require a relationship with the PM to obtain details. Some API versions require an NDA for either the API, the service, or both.
For the APIs that you require, subscribe to or follow the blogs and release notes.
Unless you have a specific requirement, only use the latest production (GA) version. GA versions have published documentation detailing the interface, methods, and parameters.
I have access to our corporate PCF, though both the Apps Manager webpage and the "cf" CLI (and thus the API).
How can I detect what version of PCF they're running? There's nothing in the website that lists it, and the best I can find is using cf api which returns:
api version: 2.98.0
How can I map that to the PCF version, or is there another way to detect it?
Usually via Ops Manager however another quick way is to click on the 'Docs' in Apps Manager it should take you to the documentation of relevant PCF version. For ex: https://docs.pivotal.io/pivotalcf/2-6/pas/intro.html means PCF 2.6
Please be advised that documentation link requires to be updated during upgrades so if someone doesn't do - it will be pointing out to older version..
I don't believe Apps Manager or the API (i.e. Cloud Controller) will report that information. Both are just single parts of the entire system, so I think you could really only expect them to publish their own version information.
If you want to see versions of what is installed, you need to look at Ops Manager. That will show you the tiles that are installed and each version.
If you don't have access to Ops Manager, you'd need to ask your platform operators.
Hope that helps!
We manage over 10,000 Chromebooks via Google Admin Console and we are having constant issues with Chrome extensions being installed (games, vpns, etc) and used by students. Our OU is broken down per school, student/teacher, grade. We are on track to block ALL extensions and enabling an "allowed" list.
The limitations of Google Admin Console makes this very difficult (on top of being slow) with its clunky interface. I've been researching to possibly programmatically manage the extensions. This way someone can submit a request for an extension, our admin staff can review it, and we can enable it - automatically adding it to the list of allowed extensions.
Is this possible? I searched the admin sdk for hours and can't find a mention of this. I attached a screenshot of how it would be managed manually.
So I've done some digging, but came up with nothing thus far because I feel that this would be a close to impossible task. But I am more than willing to look on my own, I wanted to know if it was possible to access Google related resources using QT Creator. So For example if I wanted to use say Google analytics, what would I need to research? Would I need to have some sort of app-engine side?
Thanks!
You can access most of the Google products by using the corresponding API (AppEngine is not required for that). This link lists all available Google APIs. You can then access it using the Google API Client for C++, but the C++ binding seems to be in alpha.
Edit:
It seems that Google stopped the development and support of the C++ binding for their APIs. The library source code can still be found on Github.
I'm trying to find a free replacement for Sharepoint 2010. Particularly I need custom lists creation functionality. I've read that Alfresco is a good replacement, but I can't seem to find any tutorial about custom data list creation. In Sharepoint you can create custom lists and fields out of the box, but it seems that with Alfresco you have to deal with XML code, which is not very user friendly, am I right?
If this is the case, is there any other kind of ECM with this functionality?
Thanks,
With Alfresco, there are (3rd Party) tools providing functionality to model content with a gui at runtime, shielding users from ugly XML. Head over to http://addons.alfresco.com and search for "model". Alfresco Form-Model Management is one example.
That said, I can hardly imagine gui based content modeling qualifiying as a critical feature for the choice of an ECM as usually, developers do it infrequently (in one particular project).
Here is a tutorial that shows how to do custom data lists in Alfresco: http://ecmarchitect.com/archives/2010/04/25/1156. I wrote it against Alfresco 3.3 and haven't tested it against the newest versions, but the content modeling stuff and most Share form config stuff haven't really changed that much since then so give it a shot.
The concept of what ECM is about is evolving rapidly. As someone who's built and managed SharePoint, Documentum, Wiki farms as well as ECM services, Web services, Data services and more in large environments, traditional Web ECM definitions are not what many companies are looking for now in solutions. The Web solution does more than "pure ECM". They are also not built and managed by developers and admins in many cases as well. "User admins" is becoming the norm. SharePoint's hierarchical delegation model and customization capabilities are not an end state but they are headed in the right direction. I'm guessing newer releases of Alfresco may move in this direction as well.