please dont rip this site

SetEnabled

The SetEnabled method of the IIsCertMapper object enables or disables an existing certificate mapping. Four seek methods are available to search for the mapping.

Syntax

IIsCertMapper.SetEnabled IMethod, vKey,IEnabled 
 

Parameters

IMethod
Specifies the seek method to use for searching the mappings. Valid seek methods are 1, 2, 3, or 4. Seek method 1 specifies search by certificate, seek method 2 searches by name, method 3 searches by Windows NT account, and method 4 searches by a 1-based numeric string index (for example "1", "2", and so on).
vKey
Specifies the key to use in the search specified by IMethod. For seek method 1, vKey specifies a certificate. For seek method 2, vKey specifies a name. For seek method 3, vKey specifies a Windows NT account. For seek method 4, vKey specifies a numeric string index (for example "1", "2", and so on).
IEnabled
Specifies True to enable the mapping, False to disable the mapping.

Code Example

<% 
Dim CertObj 
Set CertObj = GetObject("IIS://..path../IIsCertMapper") 
' Search by Windows NT account 
CertObj.SetEnabled 3, "MYACCT", True 
%> 
 

See Also

CreateMapping, GetMapping, DeleteMapping, SetName, SetPwd, SetAcct


© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/iis/htm/sdk/aoii5e78.htm, 3KB, , updated: 2002/5/22 16:36, local time: 2024/6/26 04:06,
TOP NEW HELP FIND: 
3.138.101.91:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/techref/inet/iis/iis/htm/sdk/aoii5e78.htm"> SetEnabled</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .