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
- hubSiteUrl
Type: System.String
- principals
Type: []
- grantedRights
Type: Microsoft.Online.SharePoint.TenantAdministration.SPOHubSiteUserRights
Return value
Type: Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties