PermissionContext Class

Provides access to permission information associated with a user.

System.Object
  Microsoft.AspNet.Facebook.PermissionContext

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

public class PermissionContext

The PermissionContext type exposes the following members.

  NameDescription
Public methodPermissionContextInitializes a new instance of the PermissionContext class.
Top

  NameDescription
Public propertyDeclinedPermissionsPermissions that were previously requested for but not granted for the lifetime of this application. This can happen by a user revoking, skipping or choosing not to allow permissions in the Facebook login dialog.
Public propertyFacebookContextProvides access to Facebook-specific information.
Public propertyFilterContextProvides access to filter information.
Public propertyMissingPermissionsThe entire list of missing permissions for the current page, including DeclinedPermissions and SkippedPermissions.
Public propertyRequiredPermissionsThe entire list of requested permissions for the current page. Includes permissions that were already prompted for.
Public propertyResultThe ActionResult that should be used to control the login flow. If value is null then we will continue onto the action that is intended to be invoked. Non-null values short-circuit the action.
Public propertySkippedPermissionsPermissions that were previously requested for but skipped for the current page. This can happen from a user hitting the "skip" button when requesting permissions.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: