.NET 6 Active Directory User Profile Update (50usd budget) -- 4
Budget: $30 – $250 USD
Don't ask the budget already to mention on the title (50USD Max)
Note: you should have active directory to work on this project otherwise we cannot
code is on the attachment this the main code to be sent the full code after we agree on time and cost
1. when the user update the profile base on unit or group his OU should move as well
example: if the user is on application team and he move to facility team his ou should move to facility team
"possible code sample
//moving ou start
string newOuDn = ""; // Distinguished Name of the new OU
// Method to move the user based on the input from a TextBox
void MoveUser(string unit)
{
switch (unit)
{
case string s when s.Contains("Application Management Group"):
newOuDn = "OU=Application Management Group,DC=kcwc,DC=org";
break;
case string s when s.Contains("Computing & Communication Management Group"):
newOuDn = "OU=Computing & Communication Management Group,DC=kacwc,DC=org";
break;
case string s when s.Contains("Information Protection Group"):
newOuDn = "OU=Information Protection Group,DC=kacwc,DC=org";
break;
case string s when s.Contains("Technology & Service Management"):
newOuDn = "OU=Technology & Service Management,DC=kacwc,DC=org";
break;
default:
Console.WriteLine("No matching OU found.");
return;
}
try
{
for explanation if the unit contain Technology & Service Management he should be move to OU=Technology & Service Management,DC=kacwc,DC=org
i hope this clear explanation
2. the program is generating report.txt - i dont want the program to generate disable this
3. the program is generating UserProfileUpdates.csv - i dont want the program to generate disable this
4. I need MSI installer can be installed silently (optional if you can i have no issue)
Note: you should have active directory to work on this project otherwise we cannot
code is on the attachment this the main code to be sent the full code after we agree on time and cost
1. when the user update the profile base on unit or group his OU should move as well
example: if the user is on application team and he move to facility team his ou should move to facility team
"possible code sample
//moving ou start
string newOuDn = ""; // Distinguished Name of the new OU
// Method to move the user based on the input from a TextBox
void MoveUser(string unit)
{
switch (unit)
{
case string s when s.Contains("Application Management Group"):
newOuDn = "OU=Application Management Group,DC=kcwc,DC=org";
break;
case string s when s.Contains("Computing & Communication Management Group"):
newOuDn = "OU=Computing & Communication Management Group,DC=kacwc,DC=org";
break;
case string s when s.Contains("Information Protection Group"):
newOuDn = "OU=Information Protection Group,DC=kacwc,DC=org";
break;
case string s when s.Contains("Technology & Service Management"):
newOuDn = "OU=Technology & Service Management,DC=kacwc,DC=org";
break;
default:
Console.WriteLine("No matching OU found.");
return;
}
try
{
for explanation if the unit contain Technology & Service Management he should be move to OU=Technology & Service Management,DC=kacwc,DC=org
i hope this clear explanation
2. the program is generating report.txt - i dont want the program to generate disable this
3. the program is generating UserProfileUpdates.csv - i dont want the program to generate disable this
4. I need MSI installer can be installed silently (optional if you can i have no issue)