How to check if user is part of the specific OU in Active Directory

Hi :
We are trying to check if user is part of the specific OU or not , to do this I am invoking "Get Object Property Value"
since if user is part of that OU in that case it should be able to get that property .
However this activity is failing and not able to search for any proeprty , below is the snapshot of workflow which
I have created for this , I am logging to cisco.com domain for this .

Hi Anil
You can run the "Get User Distinguished Name" action. This uses the login CISCO\username in your case to return the distinguished name which you are inputting including its OU.
You could then run the get object property with the input LDAP path being the results from the Distinguished Name.
Regards,
Matt

Similar Messages

  • How to check SSO user from database?

    Hi:
    I've posted this topic in Forms forum:
    How to check SSO user from database?
    then as I've been told, it's better to post it here, so ...... here is the question:
    I'm writing a "before delete trigger" to insert into log table before delete. Is there a way that I know from database the current SSO user when SSO users share one database user?
    Just like in Oracle Application Express there is v('APP_USER') to know the current user.
    Saad,

    End users are manipulating data through Oracle Forms(and SSO through portal) and the thing I need is to trace the SSO username from database without modifying forms, I mean purely from database taking into consideration that SSO users are sharing one database user. Is it possible?
    Saad,

  • How to check whether User is alreadylogged in or not

    Hi..I want to check whether Particular User is already logged in or not ?? I had userid,password and status in my database.
    If anybody shows me how to implement it ??
    Reggards
    Chintan

    If you want to prevent multiple logins happening, use a profile on the database server that limits a login to a set number of simultaneous connections.
    If you just ant to check which users are logged in, the v$session table will have that information.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to check whether user login in SNC mode or Non - SNC Mode

    Hi
    When SNC is enabled system will accept secure network connections. But,It is up to the user to login in SNC mode or NOT.
    Can any one let me know How to check whether user login in a SNC mode / Non-SNC mode?. Is it only through SU01?.
    Is there any other possibility?. where to check if user login through RFC connections?.
    Please correct me if i am wrong.
    Regards
    Srinivas P.

    Hi,
    Where to check if user login through RFC connections?
    Check T-Code SM04 on every instance. In the column Type you can see what kind of login has been used (GUI, RFC, Plugin, System).
    But,It is up to the user to login in SNC mode or NOT.
    Depends. Check these [parameters|http://help.sap.com/saphelp_nw04/helpdata/EN/19/164442c1a1c353e10000000a1550b0/content.htm]:
    snc/accept_insecure_cpic     
    snc/accept_insecure_gui      
    snc/accept_insecure_r3int_rfc
    snc/accept_insecure_rfc      
    Regards,
    Sven

  • How to Check authorizations (user profiles) using eCATT?

    Hi All,
    Please tell me how to Check authorizations (user profiles) using eCATT?
    Thanks in advance.
    Regards
    Kalyani

    Hello ,
    Create a script for SU02 transaction in the SAPGUI mode, in the script move to the profiles tab and GETGUI the first profile and loop to all the profiles assigned to the user until you find your required profile.
    Other way is to identify the table where the profiles are stored and then create script using GETTAB , pass the user name and retreive all the profiles assigned to tht particular user, loop through profiles untill you find your required profile.
    Thanks & Best regards,
    Ajay

  • Checking to see if the current User is part of the "Administrator Group"

    I am writing an installer for my program - in java - that basically just executes a .jar file. In the past, my software had a disclaimer that just tells the user to make sure that they are an administrator before installing - but we are not currently enforcing that.
    So my task is to develop a snippet of code that returns a boolean (true if the user has privileges, false if the user does not). Essentially checking to see if the user is part of the Administrators Group in windows. I created a creative solution for the Unix side of this problem, checking the root group, and some path names for root... but I am stumped on the Windows side of things. I KNOW there is a solution in C, in fact I have already created it (it involves a simple import of windows.h and a static variable check), but I would like a java solution instead.
    I have researched a bit in the java.security API and the JNI interface for executing my C code in java... but I would like to post here in case there is a simpler solution that I may be overlooking. The windows platform is XP for the most part, but possibly Vista as well.
    Thanks in advance for your replies, and sorry if this is a double-post, I tried searching beforehand.

    i found out that the fsutil command will not run correctly you are not a local administrator it gives the error message "The FSUTIL utility requires that you have administrative privileges.", right now i am using some string manipulation to try and catch this - another good command line option is net localgroups Administrataor

  • How to check whether a file exist in the program folder or not?

    Hi guys,
    how to check whether a file exist in the program folder or not? Let is say i recieve a file name from user then i want to know if the file is there not and act on that base.
    abdul

    Look at the class java.io.File and the .exists() method:
    http://java.sun.com/j2se/1.4/docs/api/java/io/File.html

  • When is credit check API  called as part of the OM workflow ?

    I want to know  when is the credit check API  called as part of the OM workflow ? Any suggestions on how to know when is the call to the credit API is made ?
    Thanks in Advance.

    Thanks Rick, hopefully I can get that to work properly for me...
    And thanks for the link Todd, though it doesn't mention anything about the issue I'm curious about...
    One more related question... If I turn off the Ray Traced 3D renderer after I've created an object, and then turn it back on at a later point, will it remember the settings of the 3D object?

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
    session.
    As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
    Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.

    Hi,
    What if we change the user name of user account, will it have impact on roaming profiles.
    Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
    Here is an related article below for you:
    How to Rename a Windows 7 User Account and Related Profile Folder
    http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
    Best Regards,
    Amy

  • How to list all the Fields for an Active Directory Object

    How do I list all the fields that an Active Directory object contains? I know the most common ones, but would like to enumerate through all the fields and obtain the type of fields and their values...

    Here is my complete code - I only put snippets so that the post was not too huge...
    Option Explicit
    Const ADS_SCOPE_SUBTREE = 2
    Const ForReading = 1, ForWriting = 2, ForAppending = 8
    Dim adoCommand, adoConnection, adoRecordSet
    Dim dtmDate, dtmValue
    Dim j
    Dim lngBias, lngBiasKey, lngHigh, lngLow, lngValue
    Dim objADObject, objClass, objDate, objFile, objFSO, objRootDSE, objShell
    Dim pathToScript
    Dim strAdsPath, strConfig, strDNSDomain, strHex, strItem, strProperty, strValue
    Dim strFilter, strQuery
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Wscript.Shell")
    pathToScript = objShell.CurrentDirectory
    Set objFile = objFSO.CreateTextFile(pathToScript & "\TestAD.csv")
    ' Determine Time Zone bias in local registry.
    ' This bias changes with Daylight Savings Time.
    lngBiasKey = objShell.RegRead("HKLM\System\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias")
    If (UCase(TypeName(lngBiasKey)) = "LONG") Then
    lngBias = lngBiasKey
    ElseIf (UCase(TypeName(lngBiasKey)) = "VARIANT()") Then
    lngBias = 0
    For j = 0 To UBound(lngBiasKey)
    lngBias = lngBias + (lngBiasKey(j) * 256^j)
    Next
    End If
    ' Determine configuration context and DNS domain from RootDSE object.
    Set objRootDSE = GetObject("LDAP://RootDSE")
    strConfig = objRootDSE.Get("configurationNamingContext")
    strDNSDomain = objRootDSE.Get("defaultNamingContext")
    Set adoCommand = CreateObject("ADODB.Command")
    Set adoConnection = CreateObject("ADODB.Connection")
    adoConnection.Provider = "ADsDSOObject"
    adoConnection.Open "Active Directory Provider"
    adoCommand.ActiveConnection = adoConnection
    adoCommand.CommandText = "SELECT * FROM 'LDAP://" & strDNSDomain & "'WHERE objectClass=user'"
    adoCommand.Properties("Page Size") = 1000
    adoCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
    Set adoRecordSet = adoCommand.Execute
    Set adoRecordSet = adoCommand.Execute
    adoRecordSet.MoveFirst
    Do Until adoRecordSet.EOF
    strAdsPath = adoRecordSet.Fields("ADsPath").Value
    ' Bind to Active Directory object specified.
    Set objADObject = GetObject(strAdsPath)
    Set objClass = GetObject(objADObject.Schema)
    ' Write which object is grabbed from AD
    objFile.Write(Replace(strAdsPath, ",", ";;;"))
    ' Enumerate mandatory object properties.
    For Each strProperty In objClass.MandatoryProperties
    On Error Resume Next
    strValue = objADObject.Get(strProperty)
    If (Err.Number = 0) Then
    On Error GoTo 0
    If (TypeName(strValue) = "String") Or (TypeName(strValue) = "Long") Or (TypeName(strValue) = "Date") Then
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
    ElseIf (TypeName(strValue) = "Byte()") Then
    strHex = OctetToHexStr(strValue)
    objFile.Write("," & strProperty & "|||" & CStr(strHex))
    ElseIf (TypeName(strValue) = "Variant()") Then
    For Each strItem In strValue
    On Error Resume Next
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strItem), ",", ";;;"))
    If (Err.Number <> 0) Then
    On Error GoTo 0
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    On Error GoTo 0
    Next
    ElseIf (TypeName(strValue) = "Boolean") Then
    objFile.Write("," & strProperty & "|||" & CBool(strValue))
    Else
    objFile.Write("," & strProperty & "|||Type:" & TypeName(strValue))
    End If
    Else
    Err.Clear
    sColl = objADObject.GetEx(strProperty)
    If (Err.Number = 0) Then
    For Each strItem In sColl
    objFile.Write("," & strProperty & "|||" & CStr(strItem))
    If (Err.Number <> 0) Then
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    Next
    On Error GoTo 0
    Else
    Err.Clear
    Set objDate = objADObject.Get(strProperty)
    If (Err.Number = 0) Then
    lngHigh = objDate.HighPart
    If (Err.Number = 0) Then
    lngLow = objDate.LowPart
    If (lngLow < 0) Then
    lngHigh = lngHigh + 1
    End If
    lngValue = (lngHigh * (2 ^ 32)) + lngLow
    If (lngValue > 120000000000000000) Then
    dtmValue = #1/1/1601# + (lngValue / 600000000 - lngBias) / 1440
    On Error Resume Next
    dtmDate = CDate(dtmValue)
    If (Err.Number <> 0) Then
    objFile.Write("," & strProperty & "|||<Never>")
    Else
    objFile.Write("," & strProperty & "|||" & CStr(dtmDate))
    End If
    Else
    objFile.Write("," & strProperty & "|||" & FormatNumber(lngValue, 0))
    End If
    Else
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    Else
    On Error GoTo 0
    objFile.Write("," & strProperty)
    End If
    On Error GoTo 0
    End If
    End If
    Next
    ' Enumerate optional object properties.
    For Each strProperty In objClass.OptionalProperties
    On Error Resume Next
    strValue = objADObject.Get(strProperty)
    If (Err.Number = 0) Then
    On Error GoTo 0
    If (TypeName(strValue) = "String") Then
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
    ElseIf (TypeName(strValue) = "Long") Then
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
    ElseIf (TypeName(strValue) = "Date") Then
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
    ElseIf (TypeName(strValue) = "Byte()") Then
    strHex = OctetToHexStr(strValue)
    objFile.Write("," & strProperty & "|||" & CStr(strHex))
    ElseIf (TypeName(strValue) = "Variant()") Then
    For Each strItem In strValue
    On Error Resume Next
    objFile.Write("," & strProperty & "|||" & Replace(CStr(strItem), ",", ";;;"))
    If (Err.Number <> 0) Then
    On Error GoTo 0
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    On Error GoTo 0
    Next
    ElseIf (TypeName(strValue) = "Boolean") Then
    objFile.Write("," & strProperty & "|||" & CBool(strValue))
    Else
    objFile.Write("," & strProperty & "|||Type:" & TypeName(strValue))
    End If
    Else
    Err.Clear
    sColl = objADObject.GetEx(strProperty)
    If (Err.Number = 0) Then
    For Each strItem In sColl
    objFile.Write("," & strProperty & "|||" & CStr(strItem))
    If (Err.Number <> 0) Then
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    Next
    On Error GoTo 0
    Else
    Err.Clear
    Set objDate = objADObject.Get(strProperty)
    If (Err.Number = 0) Then
    lngHigh = objDate.HighPart
    If (Err.Number = 0) Then
    lngLow = objDate.LowPart
    If (lngLow < 0) Then
    lngHigh = lngHigh + 1
    End If
    lngValue = (lngHigh * (2 ^ 32)) + lngLow
    If (lngValue > 120000000000000000) Then
    dtmValue = #1/1/1601# + (lngValue / 600000000 - lngBias) / 1440
    On Error Resume Next
    dtmDate = CDate(dtmValue)
    If (Err.Number <> 0) Then
    objFile.Write("," & strProperty & "|||<Never>")
    Else
    objFile.Write("," & strProperty & "|||" & CStr(dtmDate))
    End If
    Else
    objFile.Write("," & strProperty & "|||" & lngValue)
    End If
    Else
    objFile.Write("," & strProperty & "|||Value cannot be displayed")
    End If
    Else
    On Error GoTo 0
    objFile.Write("," & strProperty & "||| ")
    End If
    On Error GoTo 0
    End If
    End If
    Next
    objFile.WriteLine("")
    adoRecordSet.MoveNext
    Loop
    objFile.Close
    ' Function to convert OctetString (Byte Array) to a hex string.
    Function OctetToHexStr(arrbytOctet)
    Dim k
    OctetToHexStr = ""
    For k = 1 To Lenb(arrbytOctet)
    OctetToHexStr = OctetToHexStr _
    & Right("0" & Hex(Ascb(Midb(arrbytOctet, k, 1))), 2)
    Next
    End Function
    I have been able to obtain all the Computer, Contact, Group and OU objects without issue with this code...

  • Check if user is part of AD group using System.DirectoryServices.AccountManagement namespace

    I am trying to validate a user from SharePoint to see if a user exists within an AD group. SharePoint does not allow you to do this so I am using the:
    using
    System.DirectoryServices.AccountManagement;
    to validate user existance within that AD group. I found the following method that allows me to validate but bombing on me:
    public bool IsUserInGroup(string username, string groupname, ContextType type)
    PrincipalContext context = new PrincipalContext(type);
    UserPrincipal user = UserPrincipal.FindByIdentity( context, IdentityType.Name, username);
    GroupPrincipal group = GroupPrincipal.FindByIdentity(context, groupname);
    return user.IsMemberOf(group);
    When I call my method, i get
    An operations error occurred.
    I read that it might be an impersination error but I have my web.config set up already with:
    <
    authentication mode="Windows" />
    <
    identity impersonate="true" />
    Any suggestions from someone that has worked with that namespace on SharePoint? I just want to plainly check to see if a user is part of a certain group on AD from SharePoint.
    Victor Palma

    “An operations error occurred. “ may suggest a COMException is occurred.
    I wrote an simple console application that works:
        static void Main(string [] args)
            Console .WriteLine(IsUserInGroup("Administrator" , "Domain Admins" ));
        public static bool IsUserInGroup(string username, string groupname)
            var foundUser = false ;
            var context = new PrincipalContext (ContextType .Domain, "DC" );
            var group = GroupPrincipal .FindByIdentity(context, groupname);
            if (group == null )
                context.Dispose();
                throw new Exception ("Group could not be found: " + groupname);
            // GetMembers(true) is recursive (groups-within-groups)
            foreach (var member in group.GetMembers(true ))
                try
                    if (member.SamAccountName.Equals(username))
                        foundUser = true ;
                        break ;
                catch (Exception )
                    // One of the members could not be retrieved, moving on...
            group.Dispose();
            context.Dispose();
            return foundUser;
    Reference:
    Recursive Active Directory group membership using System.DirectoryServices in .NET 3.5(http://www.lessanvaezi.com/recursive-active-directory-group-membership-using-system-directoryservices-in-net-3-5/)
    Another important notice:
    How to use the System.DirectoryServices namespace in ASP.NET(http://support.microsoft.com/default.aspx/kb/329986)
    Keep It Simple and Stupid.

  • How to check which user has the privilege to execute a stored procedure?

    I am using Oracle 7 and I would like to check which user has the privilege to execute a stored procedure. How can I check it? Is there any view I can query for?
    Alex Hung

    Please check DBA_SYS_PRIVS.
    SQL> select * from dba_sys_privs
    2 where grantee='HARY';
    GRANTEE PRIVILEGE ADM
    HARY EXECUTE ANY PROCEDURE NO
    ....

  • How to check for user login in a header?

    What is a good way to make sure the user has logged in on many web pages? I implement the property and method in the session bean to keep track of whether the user has logged in or not and that's fine. I tried to use a Page Fragment to check if the user is logged in, but Page Fragment does not seem to redirect with getExternalContext().redirect("Login.jsp").
    I also tryed to use <jsp:include> to include a header to test for login, but JSF doesn't seem to like me adding that to the page (got error).
    Also, is there a good way to prevent the target page to even execute the rowset if the user is not logged in? It seem like the page has to complete all the rowset data binding before being redirected to another page, even if I put the redirection as part of the page initialization. This is difficult because I can't expect all the pages to have query result when the user is not even logged in.
    This is very basic web application function but it seems so hard to do with Studio Creator.

    One thought though, when I was playing around with that solution I noticed that everything gets filtered.
    i.e. images, so maybe you chould place some thing on the page (image) and when it comes through .. do something. I know its not quite as good, because your back to having to put something on each page (or restricted pages).
    The images won't be wrong, unlike the URL .. maybe not images maybe something else. good luck
    Jonathan

  • How to check up Integrity of basis on the server ?

    How to check up
    1. Integrity of basis on the server
    2. Presence of necessary fields in bases
    Why ask ?
    There is for a long time imported in ZCM station XP.
    In properties of agent ZCM at this station I see that all politicians are applied successfully.
    In the https://zcmserver | ws Xp_KAP| Relationships | Assigned Policies | Inherited
    for Dynamic Local User Policy "01UsersRightsDLU" Deployment Status = Unknown.
    If remove (unreg) from ZCM this WS and import Again - all properies will be OK...
    ( I have some such for a long time imported machines with similar problems. )
    Serg

    Originally Posted by AndersG
    Skoltogyan,
    > Thanks. I will look forward to hearing
    Sorry. I shuould have spotted that myself. The command you entered is wrong. You entered:
    /opt/zdc # ./zdc verify -b /var/opt/novell/zenworks/database/zenworks_AMI_COMPANY_ZONE.db
    Should have been:
    /opt/zdc # ./zdc verify -b /blabla/zcm_10.x.x.zdc
    Ie you enter the full path to the baseline file, not the database for -b
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms
    cd /opt/zdc
    ./zdc verify -b
    and in the log-file get 3 errors:
    1)
    + Initializing native libraries.
    [ERROR] [ZDCNative]
    [!] Could not load native library, native features will be disabled
    [DEBUG] [ZDCNative] /opt/zdc/lib/native/libzdcnative.so: librpm-4.4.so: cannot open shared object file: No such file or directory
    java.lang.UnsatisfiedLinkError: /opt/zdc/lib/native/libzdcnative.so: librpm-4.4.so: cannot open shared object file: No such file or director
    y
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at com.novell.zenworks.zdc.system.platform.ZDCNative. initialize(ZDCNative.java:20)
    at com.novell.zenworks.zdc.system.platform.ZDCNative. <clinit>(ZDCNative.java:33)
    at com.novell.zenworks.zdc.DiagnoseZen.startZDC(Diagn oseZen.java:105)
    at com.novell.zenworks.zdc.DiagnoseZen.start(Diagnose Zen.java:64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.novell.zenworks.zdc.boot.Bootstrap.main(Bootst rap.java:110)
    [INFO ] [DiagnoseZen]
    + Attempting to connect to database.
    [TRACE] [DatabaseConnector] Establising JDBC connection.
    [TRACE] [DatabaseConnector] JDBC connection established.
    [INFO ] [DiagnoseZen]
    2)
    [ERROR] [ZDCNative]
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/web.xml' is missing!!!
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/classes/com/novell/zenworks/webservice/reportadmin/ReportAdminImpl.class' is missing!!!
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/classes/com/novell/zenworks/webservice/reportadmin/ReportAdminTieSkeleton.class' is missing!!!
    [ERROR] [FileVerifier]
    3)
    [TRACE] [DBObjectComparer] Constraint 'fk_zDevice_ZUID' is okay.
    [TRACE] [DBObjectComparer] Comparing Triggers
    [ERROR] [DBObjectComparer] Mismatch in Trigger 'tg_IsRetired_Ins_Upd' structure!!!
    Expected: [Name: tg_IsRetired_Ins_Upd, Table: zDevice, Definition hash: 5e61ed8]
    Found : [Name: tg_IsRetired_Ins_Upd, Table: zDevice, Definition hash: d789549a]
    [DEBUG] [DBObjectComparer] Additional Information:
    create trigger -- when zDevice is retired or unretired let NC_Workstation know
    tg_IsRetired_Ins_Upd after update on
    zenadmin.zDevice
    referencing old as oldtable new as newtable
    for each row
    begin
    declare @Retired1 tinyint;
    declare @RetiredDate1 datetime;
    declare @ZUID1 binary(16);
    if(newtable.Retired <> oldtable.Retired) then
    set @Retired1=newtable.Retired;
    set @ZUID1=newtable.ZUID;
    if(@Retired1 = 1) then
    set @RetiredDate1=newtable.RetiredDate;
    update NC_WORKSTATION set
    NC_WORKSTATION.IsDeleted = @RetiredDate1
    where NC_WORKSTATION.ZenWorksAgentID = @ZUID1;
    update NC_COMPONENT set
    NC_COMPONENT.IsDeleted = @RetiredDate1
    where NC_COMPONENT.IsDeleted is null
    and WORKSTATIONOID = any(select WORKSTATIONOID from NC_WORKSTATION where ZENWORKSAGENTID = @ZUID1)
    else
    set @RetiredDate1=oldtable.RetiredDate;
    update NC_WORKSTATION set
    NC_WORKSTATION.IsDeleted = null
    where NC_WORKSTATION.ZenWorksAgentID = @ZUID1;
    update NC_COMPONENT set
    NC_COMPONENT.IsDeleted = null
    where NC_COMPONENT.IsDeleted >= @RetiredDate1
    and WORKSTATIONOID = any(select WORKSTATIONOID from NC_WORKSTATION where ZENWORKSAGENTID = @ZUID1)
    end if
    end if
    end
    [ERROR] [TableHelper]
    [!] 1 errors found while verifying Triggers of Table zDevice
    [DEBUG] [TableHelper] Verifying table 'zDeviceCreationInfo'
    [TRACE] [DBObjectComparer] Comparing Columns

Maybe you are looking for

  • I can't install Adobe Photoshop CS4 extended at all

    I downloaded Adobe Photoshop CS4 Extended (Trial Version) from the Adobe.com website through Akamai downloader. Well, i tried to install it clicking on the set up, but it started to install and a few minutes later stopped and displayed a error messag

  • "method not found in class " error message !

    Dear People, I have an error message that says: "Clerk.java": Error #: 300 : method doTransaction(stan_ch15p622.Transaction) not found in class stan_ch15p622.Bank at line 36, column 12 below is the Clerk class of the program. doTransaction() is defin

  • List Component multipleSelection and wmode

    I'm trying to use the list component with multipleSelection set to true; however when I set wmode to transparent in FireFox the multiple selection breaks. It appears to function properly in IE. Does anyone know of a workaround for this? Thanks in adv

  • 69% Health after 106 cycles? will Applecare replace this?

    I have a new Multitouch 15" MBP running 10.5.5. I always take all the steps I can to conserve battery life,(screen all the way down, wireless and bluetooth off, IR receiver off, dashboard off, etc.) whenever I'm not plugged in, which isn't terribly o

  • Configuring Static Routing

    Hi, I have some issues configuring my WRT54G in my business, I've already got 2 networks and i want to create a new one with my router.. The main network where all our servers are is the 192.168.1.0/24 (gateway 192.168.1.1), second network is 192.168