Compartilhar via


SP.BasePermissions.equals(perm) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether this instance and the specified BasePermissions object have the same permisions.

var value = SP.BasePermissions.equals(perm);

Parameters

perm

Type: SP.BasePermissions

The object to compare to this instance.

Return Value

Type: boolean

true if this instance is equal to the specified BasePermissions object; otherwise, false.

Remarks

This method returns a value that indicates whether this instance and another object specified by the perm parameter have the same value. This method returns false if the perm parameter is null or not a BasePermissions object.

Applies To

SP.BasePermissions Class

See Also

Reference

SP.BasePermissions Methods

SP.BasePermissions Properties

SP Namespace