SOLIDWORKS PDM Professional API Help Send Feedback
RemoveUsers Method (IEdmUserMgr7)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmUserMgr7 Interface : RemoveUsers Method (IEdmUserMgr7)


poUserIDs
Array of IDs of the users to remove (see Remarks)
Removes the specified users from the vault.

Syntax

Visual Basic 
Sub RemoveUsers( _
   ByVal poUserIDs() As System.Integer _
) 
C# 
void RemoveUsers( 
   System.int[] poUserIDs
)
C++/CLI 
void RemoveUsers( 
&   System.array<int>^ poUserIDs
) 

Parameters

poUserIDs
Array of IDs of the users to remove (see Remarks)

Example

Remarks

If you specify an ID in poUserIDs that does not exist, it is ignored.

Return codes: 

  • S_OK: The method successfully executed.
  • E_EDM_PERMISSION_DENIED: The logged-in user lacks the EdmSysPerm.EdmSysPerm_EditUserMgr permission.
 

See Also

Availability

SOLIDWORKS PDM Professional 2010