One easy way to see the IIS application pool identifier for your site is to add the .aspx page to the default directory with the code below. Make sure that you enable anonymous authentication or Windows authentication and try to open the page through a browser.
<% @ Page Language="C#" %>
<%
Response.Write ("App Pool Identity - " + System.Security.Principal.WindowsIdentity.GetCurrent().Name);
%>
Something similar to this should arise.

source
share