Domain search like setting file permissions

  • Thread starter Thread starter Scott M
  • Start date Start date
S

Scott M

I would like to create the shell dialog box that opens the search box that
allows a user to search for groups, users and or computers on a local
machine of on a domain (Like choosing domain users when setting file
permissions). Does anyone have a nice .Net wrapper that I can use to
accomplish this or know where I can find it online?

Thanks Much!!

Scott
 
Hi Scott,

Based on my research, here is a sample on codeproject for your referecne.
Using the Windows 2000/XP Object Selection Dialog
http://www.thecodeproject.com/w2k/BfObjectSelection2.asp

We have unmanaged C++ Document about using the dialog, but we did not
provide an official dotnet Wrap.
Directory Object Picker
http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library...


Best regards,


Peter Huang
Microsoft Online Partner Support


Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
 
That looks like exactly like what I need!!!

Is there a way I could get rid of that COM wrapper class?
 
Hi Scott,

To use unmanaged code, we do need a .NET managed Wrapper.
It seems that the link in codeproject has do some job.

If you do not want to use the Wrap, I think you may try to use unmanaged
code only.
Because to communicate between managed code and unmanaged code, we need a
wrapper to do the marshalling between managed code and unmanaged code.


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
My only issue is that I would prefer to not to have to register a COM
component to run the application.
 
Hi Scott,

Thanks for your response.
I do understanding your concern, that you do not want to register the COM
so that the deployment will be easier.
But now the dialog you want is implmeneted in the unmanaged COM, our .NET
wrap is used to call the COM Object.

If you are using XP or higher version, you may try to use the RegFree COM
option, but that have some limitation.
Here is a link for you reference.
Simplify App Deployment with ClickOnce and Registration-Free COM
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top