The AyaBizUtils type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCanRead
Check current logged in user's right to read the object type specified
Public methodStatic memberCanWrite
Check current logged in user's right to read and write the object type specified
Public methodStatic memberCanWriteAndDelete
Check current logged in user's right to read, write and delete the object type specified
Public methodStatic memberFileSizeDisplay
Convert byte count to largest whole unit of measurement in human readable format (i.e. x MB, x KB, x GB, x TB, x PB, x EB etc etc up to Geopbytes)
Public methodStatic memberGetBizObjectID
Find the value of the property "ID" in the biz object through reflection.
Public methodStatic memberGetBizObjectName(String, Guid)
Used for combo box initialization and for label intialization in grid columns that contain a combo but are not in edit mode
Public methodStatic memberGetBizObjectName(String, String)
Convenience overload
Public methodStatic memberGetBizObjectStaticPropertyValue
Return the static property value in a biz object using reflection
Public methodStatic memberInitialize
Initialization and pre-flight check of the AyaNova DB connection
Public methodStatic memberLogin
Login to database. This replaces the direct call to BusinessPrincipal.Login which has been deprecated to allow for consolidated connnection settings. This is a breaking change for v3.x api users
Public methodStatic memberRight(String)
Check current thread user's rights to object specified by RootObjectType string
Public methodStatic memberRight(RootObjectTypes)
Check current thread user's rights to Root object type specified

See Also