Tenant.GrantHubSiteRights method

Namespace:  Microsoft.Online.SharePoint.TenantAdministration
Assembly:  Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntax

'Declaration
Public Function GrantHubSiteRights ( _
    hubSiteUrl As String, _
    principals As String(), _
    grantedRights As SPOHubSiteUserRights _
) As HubSiteProperties
'Usage
Dim instance As Tenant
Dim hubSiteUrl As String
Dim principals As String()
Dim grantedRights As SPOHubSiteUserRights
Dim returnValue As HubSiteProperties

returnValue = instance.GrantHubSiteRights(hubSiteUrl, _
    principals, grantedRights)
public HubSiteProperties GrantHubSiteRights(
    string hubSiteUrl,
    string[] principals,
    SPOHubSiteUserRights grantedRights
)

Parameters

  • principals
    Type: []

Return value

Type: Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties

See also

Reference

Tenant class

Tenant members

Microsoft.Online.SharePoint.TenantAdministration namespace