Share via


IFacebookPermissionService.GetUserPermissions Method

Gets the user permissions.

Namespace:  Microsoft.AspNet.Mvc.Facebook.Providers
Assembly:  Microsoft.AspNet.Mvc.Facebook (in Microsoft.AspNet.Mvc.Facebook.dll)

Syntax

'Declaration
Function GetUserPermissions ( _
    userId As String, _
    accessToken As String _
) As IEnumerable(Of String)
'Usage
Dim instance As IFacebookPermissionService 
Dim userId As String 
Dim accessToken As String 
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetUserPermissions(userId, _
    accessToken)
IEnumerable<string> GetUserPermissions(
    string userId,
    string accessToken
)
IEnumerable<String^>^ GetUserPermissions(
    String^ userId, 
    String^ accessToken
)
abstract GetUserPermissions : 
        userId:string * 
        accessToken:string -> IEnumerable<string> 
function GetUserPermissions(
    userId : String, 
    accessToken : String
) : IEnumerable<String>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<String>
The user permissions.

See Also

Reference

IFacebookPermissionService Interface

Microsoft.AspNet.Mvc.Facebook.Providers Namespace