re: Location of the profile.msh for custom provider



Hi Omar,
If you are interested in executing some code during provider initialization, you can use the Provider Start function. For executing code for new drive, you can use the NewDrive function .

As lee says, please let us know your scenario, and we can help you better.

--
Arul Kumaravel[MSFT]

Monad Development Manager.

Microsoft Corporation

This posting is provided "AS IS" with no warranties, no onfers rights.

-----Original Message-----
From: lee.holmes@xxxxxxxxxxxxxxxxxxxx
Posted At: Monday, March 20, 2006 8:10 AM
Posted To: microsoft.public.windows.server.scripting
Conversation: Location of the profile.msh for custom provider
Subject: re: Location of the profile.msh for custom provider


Hi Omar;

The profile is a way for users to customize their shell environment. The side-effects are important, not the files themselves. After all, what's stopping somebody from having an empty profile at the location you require?

What is driving this goal?

If a certain side effect is important, then you should verify that instead.

--
Lee Holmes [MSFT]
Microsoft Command Shell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

-----Original Message-----
From: OmarVera
Posted At: Friday, March 17, 2006 7:22 PM
Posted To: microsoft.public.windows.server.scripting
Conversation: Location of the profile.msh for custom provider
Subject: Location of the profile.msh for custom provider


Hi all,

I am developing a provider in Monad (MSH) and I found that the default
profile file must be located either in the users dir or in the all users
documents dir. Is there a way to say the Provider to use a profile located in
the same directory where it is running? It is because I want that all users
must have the profile.msh. How can I do that?

Thanks in advance.

Omar Vera

.



Relevant Pages

  • Custom membership provider in partial trust mode
    ... I also created a simple Website using Visual Studio 2005 and configured the Web.config to use this custom provider that I have written. ... I could use the ASP.NET configuration tool and use the custom provider to add users and view user details. ... I want to run this provider in the partial trust environment since MOSS 2007 runs in Minimal trust mode. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication
    ... commerceserver profile provider for authentication. ... custom provider takes email and password to authenticate and adding ... I have a custom aspx page with registration control that registers a ...
    (microsoft.public.sharepoint.portalserver)
  • Re: WSS deployment over Internet
    ... creating custom provider for combining both FBA and AD. ... implement a custom MemberShip provider which delegates the real work to the two standard ASP.NET providers. ... their AD credintials only from Internet as well. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Why do I get "name LocalSqlServer was not found" when my app uses MySQL?
    ... you can clear the connection strings: ... clear the default provider and specify a custom provider: ... for sample access code to MySql using ASP.NET 2.0. ... If you're using MySQL as your database platform as a custom Provider, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: web parts and a database
    ... sqlserver instance or SQLEXPRESS engine. ... as provider based, it's flexible to create custom provider and use custom ... mentioned creating custom provider to avoid using ...
    (microsoft.public.dotnet.framework.aspnet)