[This is preliminary documentation and is subject to change.]

Checks whether the user has opted in to an extended application permission.

Namespace:  Facebook.Api.Controllers
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
public FacebookResponse<bool> HasAppPermission(
	long uid,
	string extPerm
)
Visual Basic (Declaration)
Public Function HasAppPermission ( _
	uid As Long, _
	extPerm As String _
) As FacebookResponse(Of Boolean)
Visual C++
public:
FacebookResponse<bool>^ HasAppPermission(
	long long uid, 
	String^ extPerm
)

Parameters

uid
Type: System..::.Int64
The user ID of the user whose permissions you are checking. If this parameter is not specified, then it defaults to the session user.
Note: This parameter applies only to Web applications and is required by them only if the
CopyC#
session_key
is not specified. Facebook ignores this parameter if it is passed by a desktop application.
extPerm
Type: System..::.String
String identifier for the extended permission that is being checked for. Must be one of
CopyC#
email
,
CopyC#
offline_access
,
CopyC#
status_update
,
CopyC#
photo_upload
,
CopyC#
create_listing
,
CopyC#
create_event
,
CopyC#
rsvp_event
,
CopyC#
sms
.

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.UsersController.HasAppPermission(System.Int64,System.String)"]

See Also

UsersController Class
HasAppPermission Overload
Facebook.Api.Controllers Namespace