AddressManagerExtensions CheckServiceProviderAccess Method (IAddressManager, Int64, Int64)
[This is preliminary documentation and is subject to change.]
Used to check if a service provider 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
Syntaxpublic static bool CheckServiceProviderAccess (
this IAddressManager manager ,
long addressId ,
long serviceProviderId
)<ExtensionAttribute >
Public Shared Function CheckServiceProviderAccess (
manager As IAddressManager ,
addressId As Long ,
serviceProviderId As Long
) As 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.Int64,System.Int64)"]
addressId Type: System Int64 [Missing <param name="addressId"/> documentation for "M:Netadmin.Management.Address.AddressManagerExtensions.CheckServiceProviderAccess(Netadmin.Management.Address.IAddressManager,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.Int64,System.Int64)"]
Return Value Type:
Boolean 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) .
RemarksIf the use case requires checking either multiple addresses, or multiple service providers, use any of the existing method overloads
See Also