Page 1 of 1
How to set "Get the information from the Active Directory"
Posted: Wed Jun 30, 2021 1:09 pm
by cew
Hi there,
I need to set the flag "Get the information from the Active Directory" (Edit -> Preferences -> Identity) by code to be able to get the identity's Name used in stamps set by
Code: Select all
Editor.Inst.Settings["Identity.Name"].v = "My Name";
I tried to set
Code: Select all
Editor.Inst.Settings["Identity.AlwaysUseLoginName"].v = false;
but it does not work.
And yes, I call
Code: Select all
Editor.Inst.FireAppPrefsChanged(PXV_AppPrefsChanges.PXV_AppPrefsChange_Identity);
It seems that the editor himself does not use this flag set by code.
The setting in the editors preferences overwrites the flag.
The version of PDFXChange Edit Core API is 9.0.352.0
How can I set this flag?
Or has the name of the flag changed?
Best regards
cew
Re: How to set "Get the information from the Active Directory"
Posted: Wed Jun 30, 2021 2:22 pm
by Sasha - PDF-XChange
Re: How to set "Get the information from the Active Directory"
Posted: Wed Jun 30, 2021 2:26 pm
by Sasha - PDF-XChange
Hello cew,
Also, to enable that setting use the
Code: Select all
Editor.Inst.Settings["Identity.GetFromAD"].v = true;
Cheers,
Alex
Re: How to set "Get the information from the Active Directory"
Posted: Wed Jun 30, 2021 2:40 pm
by cew
Hi Alex,
got it to work, thank you very much!
Btw: Where do I find a documentation about the available settings and the keys like "Identity.GetFromAD"?
Regards
cew
Re: How to set "Get the information from the Active Directory"
Posted: Fri Jul 02, 2021 8:27 am
by Sasha - PDF-XChange
Hello cew,
There is no documentation available for these. Basically to check the needed flag, open the registry of the End-User Editor:
Computer\HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDFXEditor\3.0\Settings
Then, when changing some settings and closing the Editor, you will see the changes made to the registry in the correspondent group. I'm afraid that is the only way.
Cheers,
Alex
Re: How to set "Get the information from the Active Directory"
Posted: Fri Jul 02, 2021 10:19 am
by cew
Hello Alex,
Sasha - Tracker Dev Team wrote: ↑Fri Jul 02, 2021 8:27 am
There is no documentation available for these. Basically to check the needed flag, open the registry of the End-User Editor:
Computer\HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDFXEditor\3.0\Settings
Then, when changing some settings and closing the Editor, you will see the changes made to the registry in the correspondent group.
Seriously?
Me too
Nonetheless, this approach is better than no way to get to the settings at all.
Thank you!
Best regards
cew
How to set "Get the information from the Active Directory"
Posted: Mon Jul 05, 2021 1:41 pm
by Stefan - PDF-XChange
Re: How to set "Get the information from the Active Directory"
Posted: Mon Jul 05, 2021 3:33 pm
by cew
Sasha - Tracker Dev Team wrote: ↑Fri Jul 02, 2021 8:27 am
Then, when changing some settings and closing the Editor, you will see the changes made to the registry in the correspondent group.
Now I understand what "Tracker" in
Tracker-Software stands for:
It's "
Registry-Tracker"
Best regards
cew
How to set "Get the information from the Active Directory"
Posted: Tue Jul 06, 2021 9:04 am
by Sasha - PDF-XChange