ModelSharingHandlerInviteUserAsync Method

Invite sharing user.

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
public Task<ISharingResult> InviteUserAsync(
	string userEmail,
	SharingRole role,
	bool sendEmail,
	string customEmailMessage,
	Guid? modelId = null
)

Parameters

userEmail
Type: SystemString
The user email.
role
Type: Tekla.Structures.ModelSharingRole
The user role.
sendEmail
Type: SystemBoolean
If set, send an invitation email to the new user.
customEmailMessage
Type: SystemString
If non-empty, add the message to the invitation email. HTML markup can be used.
modelId (Optional)
Type: SystemNullableGuid
If set and nonempty, the model id to invite user to. If not set or empty, user is added to the currently opened model.

Return Value

Type: TaskISharingResult
Awaitable task with the operation result.
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next