Aosimachine dll
Download
1 / 23

AosiMachine.dll - PowerPoint PPT Presentation


  • 72 Views
  • Uploaded on

AosiMachine.dll. Gjuro Kladarić MS EDU IT Pro sastanak 2012-12-21. AosiMachine.dll. API za AOSI servis Za .NET okolinu Bit će slobodno dostupan Besplatno Uz nešto dokumentacije Negdje sa aaiedu.hr. Prije. Nakon najmanje pet godina vrludanja… CUC 2012 http://www.ffzg.hr/LDAP4DOTNET

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' AosiMachine.dll' - ravi


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Aosimachine dll

AosiMachine.dll

Gjuro Kladarić

MS EDU IT Pro sastanak

2012-12-21


Aosimachine dll1
AosiMachine.dll

  • API za AOSI servis

  • Za .NET okolinu

  • Bit će slobodno dostupan

  • Besplatno

  • Uz nešto dokumentacije

  • Negdje sa aaiedu.hr


Prije
Prije

Nakon najmanje pet godina vrludanja…

  • CUC 2012http://www.ffzg.hr/LDAP4DOTNET

  • Dan AAIhttp://www.ffzg.hr/AOSI4DOTNET


Danas
Danas

  • Prezentacija AosiMachine.dll API-ja

  • Prezentacija aplikacije napravljene s tim API-jem


Api 1
API (1)

Sub New()

PublicFunctionGetOrgInfo() As String

PublicFunctionGetAdminInfo() As String

PublicFunctionTestUserExist() As Boolean

PublicFunctionTestUserPassword() As Boolean

PublicFunctionSearchToXML() As XDocument

PublicFunctionSearchToList() As List(OfDictionary(OfString, String))


Api 2
API (2)

PublicFunctionAddUser() As Boolean

PublicFunctionDeleteUser() As Boolean

PublicFunctionAddAttributeValues() As Boolean

PublicFunctionModifyAttributeValues() As Boolean

PublicFunctionDeleteAllAttributeValues() As Boolean

PublicFunctionGetAllUids() As List(OfString)

PublicFunctionGetAllOIBs() As Dictionary(OfString, String)


Public properties
Public properties

Public ErrorMessage As String

Public Result As String

Public ResultStatus As Integer

Public Const StatusOk As Integer = 0

' Unicode line separator

Public Const LineSeparator As Char = ChrW(&H2028)


New()

Sub New(

baseDn As String,

adminUid As String,

adminPwd As String,

OptionalreturnPrettyPrintedXML As Boolean = False

)


Getorginfo
GetOrgInfo()

Public Function GetOrgInfo(

) As String


Getadmininfo
GetAdminInfo()

Public Function GetAdminInfo(

uid As String

) As String


Testuserexist
TestUserExist()

Public Function TestUserExist(

uid As String

) As Boolean


Testuserpassword
TestUserPassword()

Public Function TestUserPassword(

uid As String,

password As String

) As Boolean


Searchtoxml
SearchToXML()

Public Function SearchToXML(

filter As String,

fieldNames As String

) As XDocument


Searchtolist
SearchToList()

Public Function SearchToList(

filter As String,

fieldNames As String

) As List(Of Dictionary(Of String, String))


Adduser
AddUser()

PublicFunctionAddUser(

uid As String,

passwd As String,

oib As String,

ime As String,

prezime As String,

email As String,

istek As String,

statusUUstanovi As String

) As Boolean


Deleteuser
DeleteUser()

Public Function DeleteUser(

uid As String

) As Boolean


Addattributevalues
AddAttributeValues()

Public Function AddAttributeValues(

uid As String,

attributeName As String,

newAttributeValue As String

) As Boolean


Modifyattributevalues
ModifyAttributeValues()

Public Function ModifyAttributeValues(

uid As String,

attributeName As String,

newAttributeValue As String

) As Boolean


Deleteallattributevalues
DeleteAllAttributeValues()

Public Function DeleteAllAttributeValues(

uid As String,

attributeName As String

) As Boolean


Getalluids
GetAllUids()

Public Function GetAllUids(

Optional pattern As String = "*"

) As List(Of String)


Getalloibs
GetAllOIBs()

Public Function GetAllOIBs(

Optional otherFieldName As String = Nothing

) As Dictionary(Of String, String)


DEMO

  • Demo-aplikacija


Nema vi e
Nema više

Pitanja?

[email protected]


ad