please dont rip this site

GetMapping

The GetMapping method of the IIsCertMapper object retrieves a certificate and the mapping data from an existing certificate mapping. Four seek methods are available to search for the mapping. The retrieved mapping is returned in parameter variables you provide.

Syntax

IIsCertMapper.GetMapping IMethod, vKey, vCert, NtAcct, NtPwd, strName, 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).
vCert
Receives the returned certificate.
NtAcct
Receives the returned Windows NT account.
NtPwd
Receives the returned Windows NT account password.
strName
Receives the returned Windows NT account friendly name.
IEnabled
Receives the returned value True for an enabled mapping, or False for a disabled mapping.

Code Example

<% 
Dim CertObj, vCert, NtAcct, NtPwd, strName, IEnabled 
Set CertObj = GetObject("IIS://..path../IIsCertMapper") 
' Search by Windows NT account 
CertObj.GetMapping 3, "MYACCT", vCert, NtAcct, NtPwd, strName, IEnabled 
%> 
 

See Also

CreateMapping, DeleteMapping, SetEnabled, SetName, SetPwd, SetAcct


© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/iis/htm/sdk/aoii0wvb.htm, 3KB, , updated: 2002/5/22 16:36, local time: 2024/6/26 04:06,
TOP NEW HELP FIND: 
3.15.189.250: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/aoii0wvb.htm"> GetMapping</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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .