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


Starts an enumeration of the users in the vault.

Syntax

Visual Basic 
Function GetFirstUserPosition() As IEdmPos5
C# 
IEdmPos5 GetFirstUserPosition()
C++/CLI 
IEdmPos5^ GetFirstUserPosition(); 

Return Value

IEdmPos5; position of the first user in the enumeration

Example

Remarks

After calling this method, pass the returned position of the first user to IEdmUserMgr5::GetNextUser to get the first user in this list. Then call IEdmUserMgr5::GetNextUser repeatedly to get the rest of the users.

C++ users not using smart-pointer wrapper functions must release the returned interface, IEdmPos5. 

Return codes: 

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2