Gets the attribute specified by its id.

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGIPermissionAttribute GetAttributeById(
	Guid id
)
Visual Basic
Public Function GetAttributeById ( 
	id As Guid
) As VGIPermissionAttribute

Parameters

id
Type: System..::..Guid
The ID of the attribute to look for

Return Value

Type: VGIPermissionAttribute
The attribute if found, null (Nothing) otherwise

See Also