|
EdmObjectFactoryGetuserGroupObject Method
|
Returns the user group object from the specified user group name (login name) or id.
Namespace:
CADSharpTools.Testing
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic static IEdmUserGroup5 GetuserGroupObject(
IEdmVault5 vault,
string userGroupName,
int userGroupID = -2147483648
)
Public Shared Function GetuserGroupObject (
vault As IEdmVault5,
userGroupName As String,
Optional userGroupID As Integer = -2147483648
) As IEdmUserGroup5
Parameters
- vault
- Type: IEdmVault5
Vault object. - userGroupName
- Type: SystemString
Name of the user group. - userGroupID (Optional)
- Type: SystemInt32
ID of the user group.
Return Value
Type:
IEdmUserGroup5IEdmUserGroup5 object
Remarks- The parameter userGroupId takes precedence over the useGroupName.
- When userGroupName is specified, the method will return the first userGroup with matching name.
See Also