Click or drag to resize

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)
Syntax
public static IEdmUserGroup5 GetuserGroupObject(
	IEdmVault5 vault,
	string userGroupName,
	int userGroupID = -2147483648
)

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: IEdmUserGroup5
IEdmUserGroup5 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