The way to change the Default Value of "UseActiveDirectoryLogin" in Site Property?

Hi all.

I'm trying to implement the Authentication Module which allows  end-users to login by specific authentication way.

To realize above, i wold like to change the Default Value of "UseActiveDirectoryLogin" in Site Property into either true or false with some logic which i'm going to make.

I can only see this Site Property only when I clone the User application.

I can't choose this property with the Expression.


Is there any way to change this property with some Logic?

It will be the best changing it with new server action...


Thank you.

Hi Yukiya,


Why do you need to do that?

Site properties are not supposed to be change often.

What you can do is create your own User Provider instead of using "Users" as your User Provider but that is not that easy.

I would say that you should think on another way to do what you want.


Best regards,

MP


Miguel Palrão wrote:

Hi Yukiya,


Why do you need to do that?

Site properties are not supposed to be change often.

What you can do is create your own User Provider instead of using "Users" as your User Provider but that is not that easy.

I would say that you should think on another way to do what you want.


Best regards,

MP


Hi, Miguel Palrão.


Thank you for your reply.

What I would like to is implementing the Authentications tool.

Let the application developer to use this Authentication module and choose the authentication way for the end-users,(Windows Authentication or SAML or Cookie Authentication),

I want to make it a one module, so I wanted to change the property with some logic.

Do you have any idea to realize above?


Thank you.