Click or drag to resize
AddressManagerExtensionsCheckServiceProviderAccess Method (IAddressManager, Int64, IEnumerableInt64)

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

Used to check which service providers has access to a specific address according to the address group rules. If there are no rules at all for the provider, it has access to all addresses.

Namespace: Netadmin.Management.Address
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
public static IReadOnlyDictionary<long, bool> CheckServiceProviderAccess(
	this IAddressManager manager,
	long addressId,
	IEnumerable<long> serviceProviderIds
)

Parameters

manager
Type: Netadmin.Management.AddressIAddressManager

[Missing <param name="manager"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Int64,System.Collections.Generic.IEnumerable{System.Int64})"]

addressId
Type: SystemInt64

[Missing <param name="addressId"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Int64,System.Collections.Generic.IEnumerable{System.Int64})"]

serviceProviderIds
Type: System.Collections.GenericIEnumerableInt64

[Missing <param name="serviceProviderIds"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Int64,System.Collections.Generic.IEnumerable{System.Int64})"]

Return Value

Type: IReadOnlyDictionaryInt64, Boolean
A correlated dictionary with key=ServiceProviderId, Value=Boolean flag indicating access

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAddressManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This method is guaranteed to always contain each serviceProviderId which is supplied as input
See Also