Microsoft SDK for Java

combine

This method of the SecurityPermission Class creates and returns a new SecurityPermission object that is a combination of the current permission object and the specified permission object. The new object allows access to exactly those resources allowed by either one of the permission objects that it was constructed from.

Syntax

public IPermission combine(IPermission other);

Return Value

Returns a new SecurityPermission instance.

Parameters

other This parameter is ignored, but it must be an instance of the SecurityPermission class.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.