The ProtectResource method sets or retrieves the current resource protection flag.
Syntax
The ProtectResource method has the following format:
Netegrity::PolicyMgtRealm‑>ProtectResource([protectFlag])
Parameters
The ProtectResource method accepts the following parameter:
protectFlag (int)
(Optional) Specifies whether enable resource protection:
Return Value
The ProtectResource method returns one of the following values:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |