CheckAcct Method

This method verifies the account credentials specified have NT administrative privileges.

IDL Definition

HRESULT CheckAcct(BSTR bszDomain, BSTR bszName, BSTR bszPassword);

Parameters

bszDomain

The domain of the account.

bszName

The name of the account.

bszPassword

The password of the account.

Return Value

a standard HRESULT value.

Example

Set ObjCreator = CreateObject("ObjCreator.ObjCreator.1")
Set BrokConfig = ObjCreator.CreateObjAuth("MemAdmin.BrokConfig.1") 
call BrokConfig.CheckAcct("domain","username","password")

© 1997-1998 Microsoft Corporation. All rights reserved.