Microsoft SDK for Java

getPrincipalOfClass

This method of the PolicyEngine Class obtains the principal associated with a specified class. Only fully trusted classes are allowed to call this method.

Syntax

public static native Principal getPrincipalOfClass(Class c);

Return Value

Returns the principal associated with the specified class.

Parameters

c The class to examine.

Exceptions

SecurityException if the calling class is not fully trusted.

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