Table of Contents

Codeunit "Azure AD Plan"

ID 9016
Namespace: System.Azure.Identity

Retrieve plans in Microsoft Entra and manage plans

Properties

Name Value
InherentEntitlements X
InherentPermissions X

Methods

IsPlanAssignedToUser

Checks if the plan is assigned to the current user.

[NonDebuggable]
procedure IsPlanAssignedToUser(PlanGUID: Guid): Boolean

Parameters

Name Type Description
PlanGUID Guid

the plan GUID.

Returns

Type Description
Boolean

true if the given plan is assigned to the current user.

IsPlanAssignedToUser

Checks if the plan is assigned to a specific user.

[NonDebuggable]
procedure IsPlanAssignedToUser(PlanGUID: Guid, UserGUID: Guid): Boolean

Parameters

Name Type Description
PlanGUID Guid

the plan GUID.

UserGUID Guid

the user GUID.

Returns

Type Description
Boolean

true if the given plan is assigned to the given user.

CheckIfPlansDifferent

[NonDebuggable]
procedure CheckIfPlansDifferent(GraphUserInfo: DotNet "Microsoft.Dynamics.Nav.LicensingService.Model.UserInfo", UserSecID: Guid): Boolean

Parameters

Name Type Description
GraphUserInfo DotNet "Microsoft.Dynamics.Nav.LicensingService.Model.UserInfo"
UserSecID Guid

Returns

Type Description
Boolean

IsBCServicePlan

Checks whether a given service plan is a Business Central service Plan

[NonDebuggable]
procedure IsBCServicePlan(ServicePlanId: Guid): Boolean

Parameters

Name Type Description
ServicePlanId Guid

The plan to check.

Returns

Type Description
Boolean

True, if the service plan is a Business Central Plan, false otherwise.

See also