IFPCNonWindowsUsers::Remove method

Applies to: desktop apps only

The Remove method removes the specified FPCNonWindowsUser object from the collection. You can specify the object either by its namespace and user name, or by its one-based index.

Syntax

HRESULT Remove(
  [in]            VARIANT IndexOrUsername,
  [in, optional]  BSTR Namespace
);
FPCNonWindowsUsers.Remove( _
  ByVal IndexOrUsername As Variant, _
  [ ByVal Namespace As String ] _
)

Parameters

  • IndexOrUsername [in]
    Required. One-based index or user name of the object to retrieve.

  • Namespace [in, optional]

    C++ BSTR that specifies the authentication namespace for the non-Windows user. This parameter must be specified when you provide a user name in the IndexOrUsername parameter. The default value is an empty BSTR.
    VB String that specifies the authentication namespace for the non-Windows user. This parameter must be specified when you provide a user name in the IndexOrUsername parameter. The default value is an empty string.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCNonWindowsUsers

 

 

Build date: 7/12/2010