Does anyone know what the plans are for interfacing to Authorization
Manager from managed code? All I can find is
microsoft.interop.security.azroles.dll, but I am having lots of problems
with this, i.e. the following code:
AzAuthorizationStoreClass store = new AzAuthorizationStoreClass();
store.Initialize(0, @"msxml://c:/AzStore.xml", null);
IAzApplication app = store.OpenApplication("AzApp1", null);
IAzClientContext ctx =
app.InitializeClientContextFromStringSid("S-1-5-21-1008647468-1129300240-
888349916-500", 0, null); // sid for local admin
fails in the last line with an ArgumentException - "The parameter is
incorrect" with no further error information.
Any help on the specific problem or more generally pointers to sample code
or docs is appreciated. I haven't been able to find any info on AzMan apart
from Help in Windows Server 2003 and two articles on msdn by Mohan Rao
Cavale.
===================================
This list is hosted by DevelopMentor� http://www.develop.com
You may be interested in Guerrilla .NET, 24 March 2003, in London
http://www.develop.com/courses/gdotnet
View archives and manage your subscription(s) at http://discuss.develop.com