W3cubDocs

/Haxe C#

PermissionSet

package cs.system.security

implements ICollection, IEnumerable, IDeserializationCallback, ISecurityEncodable, IStackWalk

extended by NamedPermissionSet

@:libType@:csNative@:native("System.Security.PermissionSet") Available on cs

Constructor

@:final @:overload new (state:PermissionState)

@:final @:overload new (permSet:PermissionSet)

Variables

read only Count:Int

read only IsReadOnly:Bool

read only IsSynchronized:Bool

read only SyncRoot:Dynamic

Methods

@:final @:overload AddPermission (perm:IPermission):IPermission

@:final @:overload Assert ():Void

@:final @:overload ContainsNonCodeAccessPermissions ():Bool

@:overload Copy ():PermissionSet

@:overload CopyTo (array:Array, index:Int):Void

@:final @:overload Demand ():Void

@:final @:overload Deny ():Void

@:overload FromXml (et:SecurityElement):Void

@:final @:overload GetEnumerator ():IEnumerator

@:final @:overload GetPermission (permClass:Type):IPermission

@:final @:overload Intersect (other:PermissionSet):PermissionSet

@:final @:overload IsEmpty ():Bool

@:final @:overload IsSubsetOf (target:PermissionSet):Bool

@:final @:overload IsUnrestricted ():Bool

@:final @:overload PermitOnly ():Void

@:final @:overload RemovePermission (permClass:Type):IPermission

@:final @:overload SetPermission (perm:IPermission):IPermission

@:overload ToString ():String

@:overload ToXml ():SecurityElement

@:final @:overload Union (other:PermissionSet):PermissionSet

Static methods

@:final @:overload static ConvertPermissionSet (inFormat:String, inData:NativeArray<UInt8>, outFormat:String):NativeArray<UInt8>

@:final @:overload static RevertAssert ():Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/security/PermissionSet.html