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


Starts an enumeration of the users in this group.

Syntax

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

Return Value

IEdmPos5; position of the first user in the list

Example

Remarks

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

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