Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCNonWindowsUsers::Remove[C++]

FPCNonWindowsUsers.Remove [Visual Basic]

[C++]

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.

HRESULT Remove(
  VARIANT IndexOrUsername,
  BSTR Namespace
);

Parameters

IndexOrUsername
[in] Required. One-based index or user name of the object to retrieve.
Namespace
[in, optional] 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.

Return Values

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

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.

Sub 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] 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 Values

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCNonWindowsUsers