diff --git a/.vs/Permissions/v18/.suo b/.vs/Permissions/v18/.suo
new file mode 100644
index 0000000..b23ef78
Binary files /dev/null and b/.vs/Permissions/v18/.suo differ
diff --git a/.vs/Permissions/v18/DocumentLayout.backup.json b/.vs/Permissions/v18/DocumentLayout.backup.json
new file mode 100644
index 0000000..eae484a
--- /dev/null
+++ b/.vs/Permissions/v18/DocumentLayout.backup.json
@@ -0,0 +1,37 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "C:\\DEV\\SharePermissions_v2\\",
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{E7BE4322-832C-4C78-AD4F-E06F2A267CAA}|Permissions\\Permissions.csproj|c:\\dev\\sharepermissions_v2\\permissions\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{E7BE4322-832C-4C78-AD4F-E06F2A267CAA}|Permissions\\Permissions.csproj|solutionrelative:permissions\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ }
+ ],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "Form1.cs",
+ "DocumentMoniker": "C:\\DEV\\SharePermissions_v2\\Permissions\\Form1.cs",
+ "RelativeDocumentMoniker": "Permissions\\Form1.cs",
+ "ToolTip": "C:\\DEV\\SharePermissions_v2\\Permissions\\Form1.cs*",
+ "RelativeToolTip": "Permissions\\Form1.cs*",
+ "ViewState": "AgIAAFUDAAAAAAAAAAAewHIDAAASAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-05-27T07:58:02.468Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/.vs/Permissions/v18/DocumentLayout.json b/.vs/Permissions/v18/DocumentLayout.json
new file mode 100644
index 0000000..5862875
--- /dev/null
+++ b/.vs/Permissions/v18/DocumentLayout.json
@@ -0,0 +1,37 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "C:\\DEV\\SharePermissions_v2\\",
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{E7BE4322-832C-4C78-AD4F-E06F2A267CAA}|Permissions\\Permissions.csproj|c:\\dev\\sharepermissions_v2\\permissions\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{E7BE4322-832C-4C78-AD4F-E06F2A267CAA}|Permissions\\Permissions.csproj|solutionrelative:permissions\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ }
+ ],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "Form1.cs",
+ "DocumentMoniker": "C:\\DEV\\SharePermissions_v2\\Permissions\\Form1.cs",
+ "RelativeDocumentMoniker": "Permissions\\Form1.cs",
+ "ToolTip": "C:\\DEV\\SharePermissions_v2\\Permissions\\Form1.cs",
+ "RelativeToolTip": "Permissions\\Form1.cs",
+ "ViewState": "AgIAAAYAAAAAAAAAAAAAACAAAAAbAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-05-27T07:58:02.468Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Permissions/Form1.cs b/Permissions/Form1.cs
index c0cca0a..cac4d78 100644
--- a/Permissions/Form1.cs
+++ b/Permissions/Form1.cs
@@ -17,7 +17,7 @@ using System.Diagnostics;
using System.Globalization;
using System.Deployment;
using System.Reflection;
-using Excel = Microsoft.Office.Interop.Excel;
+//using Excel = Microsoft.Office.Interop.Excel;
namespace Permissions
{
@@ -30,7 +30,7 @@ namespace Permissions
string getUserInfo = "sAMAccountName"; // TODO: Make configurable through UI
string ignoreGroupNameBegin = "BUILTIN,LOCAL,NT AUTHORITY,SYSTEM,S-"; // TODO: Make configurable through UI
public static string startFolder = @""; // TODO: Obsolete, remove all references
- int maxDirDepth = 5;
+ int maxDirDepth = 1;
// END CONFIGURATION
string groupNameStripBegin = Environment.UserDomainName + @"\";
@@ -631,6 +631,7 @@ namespace Permissions
}
}
+ /*
private void saveXLS(string savedFile)
{
CultureInfo oldCI = Thread.CurrentThread.CurrentCulture;
@@ -670,6 +671,7 @@ namespace Permissions
if (oldCI != null)
{ Thread.CurrentThread.CurrentCulture = oldCI; }
}
+ */
private void saveCSV(string savedFile)
{
@@ -706,7 +708,7 @@ namespace Permissions
{ maxDirDept_plus = 1; }
- maxDirDepth = maxDirDepth + maxDirDept_plus;
+ maxDirDepth = maxDirDept_plus;
updateDebugInfo("Max dir depth set to:" + maxDirDepth);
@@ -878,7 +880,7 @@ namespace Permissions
if (savedFile.EndsWith(".xls"))
{
updateDebugInfo("Saving as .xls file");
- saveXLS(savedFile);
+ //saveXLS(savedFile);
}
else if (Path.GetExtension(savedFile).ToLower() == ".csv" || Path.GetExtension(savedFile).ToLower() == ".txt")
{
diff --git a/Permissions/Permissions.csproj b/Permissions/Permissions.csproj
index 867e087..4cc3e20 100644
--- a/Permissions/Permissions.csproj
+++ b/Permissions/Permissions.csproj
@@ -10,7 +10,7 @@
Properties
Permissions
SharePermissions
- v3.5
+ v4.8
512
F310EB7CA93BF5E37B87521DB1AAD8394E53E9D1
Permissions_TemporaryKey.pfx
@@ -37,6 +37,7 @@
false
true
true
+
true
@@ -46,6 +47,7 @@
DEBUG;TRACE
prompt
4
+ false
pdbonly
@@ -54,6 +56,7 @@
TRACE
prompt
4
+ false
icon.ico
@@ -108,6 +111,7 @@
Resources.resx
True
+
SettingsSingleFileGenerator
diff --git a/Permissions/Permissions.csproj.user b/Permissions/Permissions.csproj.user
index 07b9640..4e9571a 100644
--- a/Permissions/Permissions.csproj.user
+++ b/Permissions/Permissions.csproj.user
@@ -1,4 +1,4 @@
-
+
publish\
@@ -15,4 +15,7 @@
en-US
false
+
+ false
+
\ No newline at end of file
diff --git a/Permissions/Properties/Resources.Designer.cs b/Permissions/Properties/Resources.Designer.cs
index ae1153f..624d40e 100644
--- a/Permissions/Properties/Resources.Designer.cs
+++ b/Permissions/Properties/Resources.Designer.cs
@@ -19,7 +19,7 @@ namespace Permissions.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
diff --git a/Permissions/Properties/Settings.Designer.cs b/Permissions/Properties/Settings.Designer.cs
index 35b412f..598cfc5 100644
--- a/Permissions/Properties/Settings.Designer.cs
+++ b/Permissions/Properties/Settings.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -12,7 +12,7 @@ namespace Permissions.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "18.6.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/Permissions/app.config b/Permissions/app.config
new file mode 100644
index 0000000..3e0e37c
--- /dev/null
+++ b/Permissions/app.config
@@ -0,0 +1,3 @@
+
+
+