Show / Hide Table of Contents

Class ManagementResource.ProfileUserLinksResource

The "profileUserLinks" collection of methods.

Inheritance
object
ManagementResource.ProfileUserLinksResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.ProfileUserLinksResource

Constructors

ProfileUserLinksResource(IClientService)

Constructs a new resource.

Declaration
public ProfileUserLinksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string, string, string)

Removes a user from the given view (profile).

Declaration
public virtual ManagementResource.ProfileUserLinksResource.DeleteRequest Delete(string accountId, string webPropertyId, string profileId, string linkId)
Parameters
Type Name Description
string accountId

Account ID to delete the user link for.

string webPropertyId

Web Property ID to delete the user link for.

string profileId

View (Profile) ID to delete the user link for.

string linkId

Link ID to delete the user link for.

Returns
Type Description
ManagementResource.ProfileUserLinksResource.DeleteRequest

Insert(EntityUserLink, string, string, string)

Adds a new user to the given view (profile).

Declaration
public virtual ManagementResource.ProfileUserLinksResource.InsertRequest Insert(EntityUserLink body, string accountId, string webPropertyId, string profileId)
Parameters
Type Name Description
EntityUserLink body

The body of the request.

string accountId

Account ID to create the user link for.

string webPropertyId

Web Property ID to create the user link for.

string profileId

View (Profile) ID to create the user link for.

Returns
Type Description
ManagementResource.ProfileUserLinksResource.InsertRequest

List(string, string, string)

Lists profile-user links for a given view (profile).

Declaration
public virtual ManagementResource.ProfileUserLinksResource.ListRequest List(string accountId, string webPropertyId, string profileId)
Parameters
Type Name Description
string accountId

Account ID which the given view (profile) belongs to.

string webPropertyId

Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.

string profileId

View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.

Returns
Type Description
ManagementResource.ProfileUserLinksResource.ListRequest

Update(EntityUserLink, string, string, string, string)

Updates permissions for an existing user on the given view (profile).

Declaration
public virtual ManagementResource.ProfileUserLinksResource.UpdateRequest Update(EntityUserLink body, string accountId, string webPropertyId, string profileId, string linkId)
Parameters
Type Name Description
EntityUserLink body

The body of the request.

string accountId

Account ID to update the user link for.

string webPropertyId

Web Property ID to update the user link for.

string profileId

View (Profile ID) to update the user link for.

string linkId

Link ID to update the user link for.

Returns
Type Description
ManagementResource.ProfileUserLinksResource.UpdateRequest
In This Article
Back to top Generated by DocFX