| Visual Basic | |
|---|---|
Function GetFirstLoggedInUserPosition( _ ByVal bsVaultNames As System.String _ ) As IEdmPos5 | |
| C# | |
|---|---|
IEdmPos5 GetFirstLoggedInUserPosition( System.string bsVaultNames ) | |
| C++/CLI | |
|---|---|
IEdmPos5^ GetFirstLoggedInUserPosition( & System.String^ bsVaultNames ) | |
Parameters
- bsVaultNames
- Optional newline-separated list of the names of the vaults for which to enumerate logged-in users; "" to enumerate users that are logged in to the current vault only
Return Value
IEdmPos5; position of the first logged-in user in the enumerationAfter calling this method, pass the returned position of the first logged-in user to IEdmUserMgr5::GetNextLoggedInUser to get the first logged-in user in this list. Then call IEdmUserMgr5::GetNextLoggedInUser repeatedly to get the rest of the users that are logged in to the vault.
C++ users not using smart-pointer wrapper functions must release the returned interface, IEdmPos5.
Call IEdmUserMgr5::GetLoggedInUser to only get the user who is currently running this program in the vault.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional Version 5.2