Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

IIS Application Pool user identity details access in SharePoint

  Asked By: Edmond    Date: Jan 17    Category: Sharepoint    Views: 1536

I have a 'Page Viewer Web Part' in my SharePoint application, inside
which a .net application is hosted. The first page of the application
is a login page where I was passing the username of the users, having
access to the SharePoint site. It is working.

Now, I want to try something different.

As you all must be knowing, every application pool in IIS has a user
identity. I want to display that username and password (IIS
Application Pool user identity) in the embedded .aspx page(Login
Page) [Inside the 'Page Viewer Web Part' of the SharePoint site].
That is, the application pool user identity (username and password)
should sit inside the respective textboxes of the Login Page of
the .aspx page that is displayed inside the 'Page Viewer Web Part'.

Is this possible and if so, how? Kindly help me with good
articles/source code or relevant materials.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Christian Waters     Answered On: Jan 17

I understand that the
approach is a breach to the security structure but I just wanted to know whether
it is possible and if so then how. Can you redirect me to any article or code
(whichever convenient) that speaks about the issue? It will be a piece of
knowledge to be added to my knowledge pool.

 
Answer #2    Answered By: Virendar Bahudur     Answered On: Jan 17

In order to get the app pool  username, you'll need to have something running a
virtual server which uses the app pool in question. There is no way to get the
password programatically - the only way would be to store a copy of it somewhere
else (file, database, etc).

 




Tagged: