insert MethodStatic

Insert a GroupInformationPartition and a GroupModel that breaks it down.

insert(iModelDb: IModelDb, parentSubjectId: Id64String, name: string): Id64String

throws IModelError if there is an insert problem.

Parameter Type Description
iModelDb IModelDb Insert into this iModel
parentSubjectId Id64String The GroupInformationPartition will be inserted as a child of this Subject element.
name string The name of the GroupInformationPartition that the new GroupModel will break down.

Returns - The Id of the newly inserted GroupModel.

Defined in

Last Updated: 03 June, 2019