|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating Authorization Manager Store through CodeHi all, thanks in advance for any help you can give.
I am attempting to create a deployment engine, and one of the things it needs to do is create an XML Authorization Manager Store (AzManager Store). I have searched, and poured over the documentation, and cannot seem to find something to do this. If someone could point me in the right direction, I would be grateful. I am coding in C#.Net if it helps. Thanks again, -Erich C# always helps :)
Have a look at the import/export tool i have on my blog - it shows a lot of the APIs http://www.leastprivilege.com/AzManBulkImportUpdate.aspx ----- Dominick Baier (http://www.leastprivilege.com) Show quoteHide quote > Hi all, thanks in advance for any help you can give. > > I am attempting to create a deployment engine, and one of the things > it needs to do is create an XML Authorization Manager Store (AzManager > Store). I have searched, and poured over the documentation, and > cannot seem to find something to do this. > > If someone could point me in the right direction, I would be grateful. > I am coding in C#.Net if it helps. > > Thanks again, > -Erich Dominick Baier wrote:
> C# always helps :) I am still looking at the code, but it looks like it should help,> > Have a look at the import/export tool i have on my blog - it shows a lot > of the APIs > > http://www.leastprivilege.com/AzManBulkImportUpdate.aspx > ----- > Dominick Baier (http://www.leastprivilege.com) > thanks a bunch! Show quoteHide quote > > Hi all, thanks in advance for any help you can give. > > > > I am attempting to create a deployment engine, and one of the things > > it needs to do is create an XML Authorization Manager Store (AzManager > > Store). I have searched, and poured over the documentation, and > > cannot seem to find something to do this. > > > > If someone could point me in the right direction, I would be grateful. > > I am coding in C#.Net if it helps. > > > > Thanks again, > > -Erich For anyone who arrives here via search, or just needs the solution
(Thanks in entirety to Dominick Baier for the reply above. His code solved this problem entirely!) In the Initialize function (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/azauthorizationstore_initialize.asp) if the flag is '1', it will create the file for you! this is the code that is of importance from Dominick Baier's post. private const int AZ_AZSTORE_FLAG_CREATE = 1; IAzAuthorizationStore destStore = new AzAuthorizationStoreClass(); destStore.Initialize(AZ_AZSTORE_FLAG_CREATE, destUrl, null); Thanks again!
Newbie Security Question
Is there a limit to number record returned from AD serach to a dat Encrypt Email with Certificate Natively in .Net what NewsGroup tools do you use? Code signing - recommended cerificate provider? Signing a .NET Application Authorization Manager Problem TripleDESCryptoServiceProvider - Secret Key Length permission problems Help in signing SoapEnvelope using wse 3.0 |
|||||||||||||||||||||||