We want to export all user accounts' info from our customer's TFS online account within a minimum of account name/E-mail address.
Using REST API-- Get a list of accounts still need the member ID or owner ID.
Is it possible to get the related info only with the account name or address programmatically?
Seems you are talking about VSTS. If you want to get a list of VSTS users (and other related information), you could use below API:
get https://{Account}.vsaex.visualstudio.com/_apis/userentitlements?api-version=4.1-preview
Simply replace {Account} with your specific VSTS account name, then you will get a result as below include Displayname/MailAdress:
You could also be able to call the API with C#.
More details please refer this wonderful blog: GET A LIST OF VSTS USERS WITH APIS
Related
Is there an api endpoint to GET all sub accounts of an account? I'm trying to export the list at this location in the twilio browser console:
https://www.twilio.com/console/project/subaccounts.
Since I couldn't find a way to export it, I assumed there might be an endpoint for this data in their api, but I can't seem to find any api docs that reference sub accounts.
Here is the resource.
List All Accounts
Read the set of Accounts belonging to the Account used to make the API
request. This list includes that account, along with any subaccounts
belonging to it.
To get External user information if we share the file with specific people through link.
You can use following end point for fetching external users in your AD:
https://graph.microsoft.com/beta/users?$filter=userType eq 'Guest'
make sure that you have to select beta version of microsoft graph for additional user properties.
If you just want to get the external user list, you can use "/users?$filter=userType eq 'Guest'" resolve your issue.
If you want to get the access log of share file through link:
No matter you use OneDrive or OneDrive for business, we cannot use Graph API to get the user who have access the share file through link.
If you share the Team site's document, we can use JSOM to get the user profile first and store it to the access log. Then use the get user api to get the external user info.
If you share the document from OneDrive/OneDrive for business, we cannot assign our custom access log and no known Graph API for this too. You can submit an feature request in the UserVoice, meanwhile, you can try to see the audit logging first.
I have two different adwords account. Can I use both of them in a single app, and track their conversion seperately?
I could not find any specific info at Google.
Thanks,
BR
I'm not sure what you mean by 'single app', but there is Google Adwords Manager account, where you can see all the accounts you have and import separate conversions into it and also for ex. report over both.
It's free and here are the instructions for connecting accounts.
I have no idea in ios but maybe my answer can give you an opinion. In C# if your two different accounts are under the Manager Account you can use both of them in a single app. First you can add ClientCustomerId (Manager Account Id) in App.config or Web.Config after that you can use GetAccountHierarchy() (AdWords.Examples.CSharp > v201609 > AccountManagement > GetAccountHierarchy.cs) function to get all account under Manager Account. You can reach Customer Ids and Customer Names with this function. After you get the Customer Id you can get what data you want with this Customer Ids.
You can check for source code: https://github.com/googleads/googleads-dotnet-lib
is there any API in VSTS that's equivalent to IIdentityManagementService2 in TFS? I used ReadIdentity(https://msdn.microsoft.com/en-us/library/ff731745(v=vs.120).aspx) to get the email address and display name of an account alias in TFS. I am trying to do the same in VSTS, but I am not finding anything that can do similar things in its REST API or Microsoft.VisualStudio.Services.* libraries.
Yes, you can get it via Accounts and profiles in VSTS Rest API, the "Accounts" can get the accounts in the collection and the "Profiles" can get the information like Display Name, Email address for the member.
One thing you need to notice is that, to call "Accounts and profiles" API, you must use OAuth2.0 authentication.
Q: Can I use basic auth with the profiles API?
A: No, you must use OAuth.
I am developing an application using the Asana API. As a part of which I need to display all the members of a team in an organization. When I use /organizations/organization-id/teams I get a listing of all the teams(team id and team name) and if i use /teams/team-id I get the team id, team name, and organization details(id and name).
How do I access the team members?
Try /teams/{team-id}/users - not yet publicly documented, but I suspect the endpoint won't change much before we publicly document it.