Click or drag to resize
ITicketAuthorizerGetAccessibleTicketDepartments Method

[This is preliminary documentation and is subject to change.]

Returns the ticket departments that can be selected

Namespace: Netadmin.Management.Ticketing
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
IEnumerable<ITicketDepartment> GetAccessibleTicketDepartments(
	ITicketUser ticketUser,
	Nullable<long> existingTicketId,
	long companyId
)

Parameters

ticketUser
Type: Netadmin.Management.Ticketing.DtoITicketUser
The ticket user context
existingTicketId
Type: SystemNullableInt64
The existing ticket id, null if new ticket
companyId
Type: SystemInt64
The current company

Return Value

Type: IEnumerableITicketDepartment
The selectable ticket departments
Exceptions
ExceptionCondition
ObjectNotFoundExceptionThrown if existingTicketId is not null and can not be found.
See Also