AL.Sharepoint.Core.Utils.SecurityContext.UseAppPoolIdentity C# (CSharp) 메소드

UseAppPoolIdentity() 개인적인 메소드

private UseAppPoolIdentity ( ) : void
리턴 void
        private void UseAppPoolIdentity()
        {
            try
            {
                if (!WindowsIdentity.GetCurrent().IsSystem)
                {
                    _ctx = WindowsIdentity.Impersonate(IntPtr.Zero);
                }
            }
            catch { }
        }