NamedPermissionSet::Copy Method ()

 

Creates a permission set copy from a named permission set.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual PermissionSet^ Copy() override

Return Value

Type: System.Security::PermissionSet^

A permission set that is a copy of the permissions in the named permission set.

The following code example shows the use of the Copy method to create a copy of the current NamedPermissionSet. This code example is part of a larger example provided for the NamedPermissionSet class.

.NET Framework
Available since 1.1
Return to top
Show: