Skip to content

Codeunit WSB_SecurityGroupCache

Implements the AAD Security Group cache.

Properties

Name Value
Access Public
SingleInstance True

Methods

wgFncClearCache

Clears Security Group Buffer and Security Group Member Buffer cache.

wgFncGetGroups

Gets all the defined security groups.

Parameters

Type Name Description
Record "Security Group Buffer" vRecSecurityGroupBuffer The resulting list of security groups.

wgFncGetMembers

Gets all the security group memberships.

Parameters

Type Name Description
Record "Security Group Member Buffer" vRecSecurityGroupMemberBuffer The resulting list of users and security groups they are a part of.

Returns

Type Description
List The list of security groups that were retrieved successfully from Graph / Windows Active Directory.

wgFncSuspendCache

Suspends Security Group Buffer and Security Group Member Buffer caching.

Parameters

Type Name Description
Boolean pSuspendCache Whether to suspend the caching.