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


Starts an enumeration of the user groups in the vault.

Syntax

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

Return Value

IEdmPos5; position of the first user group in the enumeration

Example

Remarks

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

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