AddressManagerExtensions CheckServiceProviderAccess Method (IAddressManager, IEnumerable Int64 , Int64)
[This is preliminary documentation and is subject to change.]
Used to check if a service provider has access to specific addresses 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
Syntaxpublic static IReadOnlyDictionary <long , bool > CheckServiceProviderAccess (
this IAddressManager manager ,
IEnumerable <long > addressIds ,
long serviceProviderId
)<ExtensionAttribute >
Public Shared Function CheckServiceProviderAccess (
manager As IAddressManager ,
addressIds As IEnumerable (Of Long ),
serviceProviderId As Long
) As IReadOnlyDictionary (Of Long , Boolean ) Parameters manager Type: Netadmin.Management.Address IAddressManager [Missing <param name="manager"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Collections.Generic.IEnumerable{System.Int64},System.Int64)"]
addressIds Type: System.Collections.Generic IEnumerable Int64 [Missing <param name="addressIds"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Collections.Generic.IEnumerable{System.Int64},System.Int64)"]
serviceProviderId Type: System Int64 [Missing <param name="serviceProviderId"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,System.Collections.Generic.IEnumerable{System.Int64},System.Int64)"]
Return Value Type:
IReadOnlyDictionary Int64 ,
Boolean A correlated dictionary with outer Key=AddressId, 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) .
RemarksThis method is guaranteed to always contain each addressId which is supplied as input
See Also