HasMaskOfEntity Method
HasMaskOfEntity Method
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Determines if an entity has the same mask as another entity.
Applies To
Syntax
[JScript] objResult objEntity.HasMaskOfEntity(objEntity2);
Parameters
- objEntity2
Another entity object used as a comparison.
Return Value
An object that returns error codes and descriptions.
Example
var e = objDacl.SearchForObjectByNT4Name("MyDomain\User1");
// Returns the predefined DACL with the MAPI roles
var objMapiRoles = DaclLegacyRoles();
var e2 = objMapiRoles.SearchForObjectByNT4Name("Owner");
if(e.HasMaskOfEntity(e2)) {
// User has that MAPI role }
See Also
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.