i want to access resources through Android using Web Api but first i want to authenticate user , and then access resources . Can anyone guide me on how to do that ?
Related
I want to access and post the data to a website .
The Problem is i can't use ant webapi and webservice.
The requirement is to add the timesheet details of the employee to the employee's portal website. We don't have any web api or web service for that.
Someone advised me to check the web scrapers.
I googled the web scraping and but didn't find the adding data to website.
Can someone please suggest .
I think your best bet would be to open up your chrome developer tools, submit the timesheet details and investigate the call that was made to the employee's portal backend.
Then you can write your own backend and reproduce that call (using HttpClient or RestSharp).
Don't forget to investigate the authentication as well, as you'll probably gonna have to send a security token together with your request.
I want to implement the LDAP in my MVC web Application.I dont have any knowledge about this.I just know for the time being that this is used for User Authentication using Windows domain Active Directory UserID and Password.
So please suggest me for this to implement this step by step.
If you build an Intranet site that will be hosted within your corporate network, you can use Integrated Windows Authentication which does not require to enter UserID and Password. Please see detailed tutorial regarding this topic.
If you need to use Forms Authentication (user should enter his name and password) then see this MSDN article.
i have created an intranet website using visual studio(c#) , i have published it as well and it works fine . the website has a registration page and lets user to create accounts , my problem is whenever someone registers in website , i would like to see the list of registered users and assign them permissions(member , guest , admin etc) so that not everyone who register can see the protected content
how do i do this , do i use visual studio's ASP.NET CONFIGURATION PAGE for this?
am a complete beginner in asp , can some one please guide.
You can accomplish this by using roles in .Net. When a new user is created just have them have a default role of guest. Then you can create a notification that gets triggered by a new user registration such as an email, then you can review the list of users and edit a user to have a specific role.
Documentation can be found here - http://msdn.microsoft.com/en-us/library/5k850zwb(v=vs.100).aspx
I am deploying a flex application in sharepoint as a web part.
I am planning to use sharepoint user credentials for my flex application.
My flex application consists of various different user roles like author,reviewer etc .
An author should be able to see all the list of sharepoint users available and can make any number of them as reviewer or author . For this I require following functionality through sharepoint for my flex application:-
1) Getting list of all users of sharepoint
2) Getting the username of the current logged in user of sharepoint through the flex application, which is deployed as a web part in sharepoint.
How to do this ?
Did this by creating a custom asp.net web service and deploying it on sharepoint.Through this web service , I retrieved current user and the list of users using share point object model.Flex inquires this web service for current user and list of available users
i'd like to create a Unique Web Site Administration Tool (UWSAT) to admin all users for all my websites on production server.
Basically the idea is to have the UWSAT with only an admin user; when the admin log the tool he could navigate the applications, select one and see its users . He could add new user to an existing application, or create a user specifying a new application name (as far as i know that create the application too).
The problem i'm facing is that to add a user to an application i have to set the Membership.ApplicationName but i read this should be avoided.
So i ask you : should i create a different MembershipProvider for each application and call it when i have to manage users for that application?
Thanks.
I recommend creating a role, and assigning it to the users. The role would be the application they should have access to.
The RoleProvider is one way to do this.