Group and permission

Hi,
I have requirement like Ihave to fetch all the Custom groups in one column of a griedview and all the custom  permissions present in a Sharepoint site should be shown column wise of the gridview.
Group       Permission1    Permission 2    Permission 3  ..
grp1              image1         image1            image1
grp2               image1         image1            image1
How can I dynamically create griedview column and change the header text(Permission) and put a image button into the column to keep image because there should have click event of image.
Shubho

Check if tools on this page can help you
http://www.codeplex.com/site/search?query=SharePoint%20Permission&sortBy=Relevance&licenses=|&ac=4
http://sppermissionanalyzer.codeplex.com/
Or
http://social.technet.microsoft.com/wiki/contents/articles/14242.sharepoint-2010-export-all-unique-permissions-from-site-collection-using-powershell.aspx
ALso try 
http://sharepoint.stackexchange.com/questions/57808/powershell-to-check-usage-of-a-custom-permission-level
#$path = get-location
$sites = get-spsite "http://SP2010/site/sam/"
foreach ($site in $sites)
write-host -foregroundcolor green "Working on Site Collection: "$site.RootWeb.Title "..."
foreach ($web in $site.AllWebs)
foreach($roleAssignment in $web.RoleAssignments)
write-host -foregroundcolor green "Group Name: "$roleAssignment.Member.Name "..."
foreach($roleDefinition in $roleAssignment.RoleDefinitionBindings)
write-host -foregroundcolor red "Permission Name: "$roleDefinition.Name "..."
$web.Dispose()
$site.Dispose()
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Oracle BI Groups, Roles and permission through external Table

    Hi,
    We are using SSo integration with Oracle BI 10g. We need to fetch the roles , permission and groups through an external table to our Oracle BI Dashboard. Please let me know if this is possible.
    Thanks,
    Aditya Arya

    Thanks a lot shru.
    I have achieved this User authentication through external table but the roles, groups and permissions are assigned inside Oracle BI only. I need to get the roles from an external database table and map the users in that database only. I do not want to use the administration screen in Oracle BI to achieve this.
    Also, I need to know what is the OBIEE variable i can use to override roles, as we use USER for adding a new user and the values that can be used to map the permissions.
    Thanks,
    Aditya Arya

  • Can't mount external Hard drive and Can't change the ownership and permiss.

    Hello everyone, got a problem and maybe someone here will know. Apple care can't help because this is due to an external piece. I have a hard drive external. I partitioned it into two hard drives. Long ago, I opened the information window for one of my partitioned drives. And changed the ownership and permission to "no access". I do this all the time to keep my files from being read if its not the administrator (me). Just recently I plugged in my hard drive (firewire and USB). Only one drive mounts on the desk top. I cannot see my other partitioned hard drive and I can' access it to change the ownership and permission with "apple key and I".. I can see a trace of the two partitioned hard drives when I use disc utility. But again it won't let me change the ownership so I can mount this again. How do I access my harddrive without refomatting? I have tried to mount this with both of my apple laptops..no luck yet. Please help, anyone.

    Hi, Donnie. Welcome to the Discussions.
    What part of "No Access" was unclear?
    "No Access" means no access for anyone.
    To fix this:
    1. Launch Terminal, which resides in the Macintosh HD > Applications > Utilities folder.
    2. At the Terminal prompt, type the following command:
    sudo chmod a+rwx "/Volumes/partition_name"
    where: partition_name is the name of the affected partition.
    3. Press Return.
    4. Type your Admin password when prompted, then press Return.
    5. At the Terminal prompt, type exit and press Return.
    6. Quit (Command-Q) Terminal.
    7. Relaunch Finder: Press and hold the Option key, click and hold mouse button 1 on the Finder icon in the Dock, select "Relaunch" from the Finder icon's contextual menu.
    You should then see the volume, or be able to use Disk Utility to Unmount it, then Mount it and see it.
    Reset the permissions for Group and Other on the partition as desired. Do not change the permissions for Owner.
    If you want a volume / partition unmounted at startup, see:
    • this tip Mac OS X Hints, or...
    • this tip on the OSX86 Project forums.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Where do I see Sharepoint user with no group or permission in the UI ?

    Hello All -
    The powershell cmdlet 'New-SPUser' has only 2 mandatory parameters UserAlias and Web. Group and PermissionLevel are not required.
    This means I can create a user with no group or no permission level. However UI does not allow this to happen, it forces you to select either one (group or permission level).
    My question is where do I see the user in UI which was created using powershell without any group or permission level ? The reason I ask is UI when it displays user, a group is always selected.
    Thanks!

    You should be putting the "_catalogs/users/detail.aspx" section into your url. For example if you were to go into your site settings page your url might start as:
    "http://manju.sharepoint.domain.com/sites/manjuTest/_layouts/settings.aspx"
    and it should become:
    http://manju.sharepoint.domain.com/sites/manjuTest/_catalogs/users/detail.aspx

  • Pay Scale Group and PS Level

    Hi everyone,
    We use Pay Scale Group and PS Level in our company (values are defaulted in IT0008); Sometimes we need to add new pay scale groups and levels, that is done in customizing client and transported to productive system using transport requests.
    Is there any other way to give permission to users to create new pay scale groups and levels directly in produqctive system?
    Thanks a lot in advance.
    Tata

    Hello
    In general practice it is not recommended to directly create PS grp and level in production as it needs a lot of testing.It may create problem in production.
    Try to follow the transport process.
    Cheers
    Rahul

  • [solved] How to give one group read permission to file?

    Hi!
    How can I give the group "logreaders" a permission to read /var/log/messages? and how can I give them read access to the whole /var/log directory?
    Thanks!
    Last edited by SoleSoul (2010-04-21 20:54:00)

    Thank you very much everyone!
    I settled on this solution:
    # chown root:logreaders /var/log/messages
    # chmod g+r /var/log/messages
    I got to this conclusion before seeing your post and I was very happy to see from your post that I wasn't wrong.
    Thanks for the link Zeist.
    I thought before that each file can have it's own list of groups and users which can read/write to it. I was wrong.
    Learned something.
    Last edited by SoleSoul (2010-04-21 19:44:51)

  • Libvirtd: setup questions and permission problems

    Hello,
    i noticed that someone removed the section which states that the "user=" and "group=" parameters of the /etc/libvirt/qemu.conf should modified from the libvirt wiki page.
    So i removed my qemu user and commented the "user=" and "group=" parameters from the /etc/libvirt/qemu.conf to keep up with newest changes.
    But after this i can't start my virtual machines from the libvirt system session which i normally use. I always get the error: "Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied"
    If i add "user=root" in /etc/libvirt/qemu.conf and restart libvirtd.service i can start my virtual machines. But i think there must be a reason why someone removed this section from the wiki page.
    Then i decided to test the user session, but i can't add storage or network in the user session, because i always get permission denied or operation permitted error messages. So i skipped further tests and decided to ask this here.
    This is my work configuration:
    - My user is in the kvm and in the wheel group
    - Nothing commented out in the configuration files below /etc/libvirt
    - I created the file "/etc/polkit-1/rules.d/49-org.libvirt.unix.manager.rules" with the content from the libvirt wiki page
    - libvirtd.service is enabled
    If you need more informations, please let me know.
    Kind regards,
    morlix
    Last edited by morlix (2015-03-24 17:26:44)

    Welcome to the forums.
    I don't know exactly why the wiki has been changed, or if there is a 'best way' of using libvirt. But FWIW, my past and current working setup is as follows:
    - My user is in the users and libvirt groups (and no others)
    - The uncommented lines in my qemu.conf file are:
    user = "alphaniner"
    group="libvirt"
    - I have the rule 50-org.libvirt.unix.manage.rules :
    polkit.addRule(function(action, subject) {
    if (action.id == "org.libvirt.unix.manage" &&
    subject.isInGroup("libvirt")) {
    return polkit.Result.YES;
    I'm pretty sure that covers it. I have no issues using the gui to add networks or storage including raw storage devices owned by root.
    Last edited by alphaniner (2015-03-24 21:27:17)

  • [svn] 4283: PARB Review changes for Group and DataGroup.

    Revision: 4283
    Author: [email protected]
    Date: 2008-12-10 14:34:18 -0800 (Wed, 10 Dec 2008)
    Log Message:
    PARB Review changes for Group and DataGroup. The main API changes are:
    - content property on Group and FxContainer renamed to mxmlContent.
    - contentFactory property on FxContainer renamed to mxmlContentFactory
    - New names for DataGroup methods: getRendererForItemAt(index:int):IVisualElement and getItemIndexForRenderer(renderer:IVisualElement):int. These are now in the mxml_internal namespace (not public anymore)
    - registerRenderer and unregisterRenderer are private methods (not public)
    Also, I made a minor fix to ITransformable.
    QE Notes: Steve's changing the mustella tests for me and will be checking in shortly.
    Doc Notes: None
    Bugs: SDK-18042
    Reviewer: Hans
    tests: checkintests, Steve ran mustella tests for all of gumbo and states
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18042
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarTrackSkin.mx ml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyScrollBarTrackSkin.mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyVScrollBarSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultComplexItemRenderer. mxml
    flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultComplexItemRenderer.m xml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultItemRenderer.mxml

    Dear friend,
    Check table: V_503_ALL 
    V_T512Z and V_511_B are the tables for assigment of Permissibility based on ESG and PSA
    After creating new EG/ESG (grouping also).
    Please note that when we update Employee Group/Subgroup of position in PP01, it is not effective to PF in master data which was maintained with that position & old Employee group/supgroup.
    So you should check:
    - Position
    - PFs with old EG/ESG.
    Regards
    Edited by: tungph on Oct 19, 2011 11:14 AM
    Edited by: tungph on Oct 19, 2011 11:17 AM

  • How to list users under multiple groups and users sub groups

    Hi, I am stump, which is not hard to do. i have a list of groups and i want to list the users in those groups and then in the next column lists all the citrix only groups for each user. hopefully im describing that correctly. Heres what i have but it is
    not listing the users groups. I am not sure how to proceed.
    $CurrentDate = Get-Date
    $CurrentDate = $CurrentDate.ToString('MM-dd-yyyy_hh-mm-ss')
    $Groupname = "Distribution Lists"
    $excel = New-Object -comobject Excel.Application
    $excel.visible = $True
    $wbook = $excel.Workbooks.Add()
    $wsheet = $wbook.Worksheets.Item(1)
    $wsheet.Cells.Item(1,1) = "Groupname"
    $wsheet.Cells.Item(1,2) = "Member"
    $wsheet.Cells.Item(1,3) = "ACID"
    $wsheet.Cells.Item(1,4) = "Department"
    $range = $wsheet.UsedRange
    $range.Interior.ColorIndex = 19
    $range.Font.ColorIndex = 11
    $range.Font.Bold = $True
    $intRow = 2
    $groups = get-adgroup -Filter * -properties * -Searchbase "OU=Citrix,OU=Permission,OU=Groups,OU=Home Office,OU=domain,DC=Domain,DC=com"
    $targetFile = "c:\temp\$groupname $CurrentDate.csv"
    Add-Content $targetFile "Group;Member;ACID;Department"
    foreach ($group in $groups){
    $groupMembers = get-adgroupmember $group -Recursive | Get-ADUser -Properties Department, DistinguishedName| Where-Object { $_.Enabled -eq 'True' } | Select-Object Name, samaccountname, department, distinguishedname, @{n='MemberOf';e={$_.MemberOf -replace '^cn=([^,]+).+$','$1' -join '; '}
    foreach ($groupMember in $groupMembers){
    $groupName = $group.Name
    $memberName = $groupMember.Name
    $acid = $groupMember.samaccountname
    $groups = $usergroups
    #$department = $groupMember.department
    $department = $groupMember.memberof
    #$DistinguishedName = $gropmember.distinguishedname
    $line = "($groupName)--------($memberName)-----($acid)-------($department)------($usergroups)"
    add-content $targetFile $line
    $wsheet.Cells.Item($intRow,1) = $groupName
    $wsheet.Cells.Item($intRow,2) = $memberName
    $wsheet.Cells.Item($intRow,3) = $acid
    $wsheet.Cells.Item($intRow,4) = $groups
    $wsheet.Cells.Item($intRow,5) = $DistinguishedName
    $intRow++
    $WorkBook.EntureColumn.AutoFit()
    $excel.SaveAs("DL" + "name.xlsx")
    $excel.Close()

    Hi Glacket,
    Below codes should give you headsup.
    This command will give you estimate the result count for each group:
    PS C:\Users\Administrator> Get-ADGroup -Filter {Name -like "TestGroup*"} | Select Name, @{Expression={get-adgroupmember $_ -recursive | Measure | Select -ExpandProperty Count};Label="Count"}
    Name Count
    TestGroup1 7
    TestGroup2 8
    Note that as said earlier we are getting duplicated results(12,13,14) for users belonging to multiple groups. Result is in order as per earlier code's count and order.
    Get-ADGroup -Filter {Name -like "TestGroup*"} | get-adgroupmember -recursive | Select Name,@{Expression={Get-ADPrincipalGroupMembership $_ | Select -ExpandProperty Name};Label="GroupMemberOfName"}
    Name GroupMemberOfName
    User100 {Domain Users, TestGroup1}
    User14 {Domain Users, TestGroup1, TestGroup2}
    User13 {Domain Users, TestGroup1, TestGroup2}
    User12 {Domain Users, TestGroup1, TestGroup2}
    User11 {Domain Users, TestGroup1}
    User10 {Domain Users, TestGroup1}
    User1 {Domain Users, TestGroup1}
    User19 {Domain Users, TestGroup2}
    User18 {Domain Users, TestGroup2}
    User17 {Domain Users, TestGroup2}
    User16 {Domain Users, TestGroup2}
    User15 {Domain Users, TestGroup2}
    User14 {Domain Users, TestGroup1, TestGroup2}
    User13 {Domain Users, TestGroup1, TestGroup2}
    User12 {Domain Users, TestGroup1, TestGroup2}
    Use below to export to CSV:
    Get-ADGroup -Filter {Name -like "TestGroup*"} | get-adgroupmember -recursive | Select Name,@{Expression={Get-ADPrincipalGroupMembership $_ | Select -ExpandProperty Name};Label="GroupMemberOfName"} | Export-Csv C:\ListGroups.csv
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • OWNERSHIP AND PERMISSION

    I have a few Mac network in a studio/office environment.
    When i create a file and saved it to the server location, that file is always saved as a read only file. In order for someone else to open and make changes to it, I have to be on my Mac and physically change the setting for ownership and persmission, so that everyone can "read and write". This happens vice versa with the other macs.
    Is there any way to make it a default setting that every file i create will always be "read and write". Vice versa to the other Mac?
    help!

    I think this is related to the umask.
    The default umask is 022 that determines the default permission for the files you create.
    If you type in a terminal window
    umask -S
    you'll get
    u=rwx,g=rx,o=rx
    That is read/write for the owner, read for both the group and others
    Maybe this could help
    http://www.macosxhints.com/article.php?story=20031211073631814
    http://www.macosxhints.com/article.php?story=2006010714524168&lsrc=osxh
    Whatch out at security issue
    Alberto

  • New files created with no group-write permission

    We have OS X set up in Standard configuration.
    We have one workgroup. When someone creates a new file in this workgroup, it is saved with permissions of "Username: Read/write", "Workgroup: read only", "Everyone: read only".
    How do I change this to something sane? (i.e. Username: Read/write, Workgroup: Read/write, Everyone: No access)
    Thanks in advance.

    +When someone creates a new file ... (it gets POSIX) permissions of "Username: Read/write", "(group): read only", "Everyone: read only".+
    This is perfectly normal.
    *Two Permission Models* First, you probably already know that Mac OS X uses two models for permissions when determining effective access for files and folders. The two models are Standard POSIX (UNIX) permissions and Access Control Lists (ACLs).
    *POSIX Permissions* POSIX permissions are very simple, and have some limitations. They consist of three "fields": an owner field, a group field, and an everyone else field. (There's also a special permissions field, but we'll skip that for this discussion.) The POSIX owner is always a user; it cannot be a group. The POSIX group represents one group, and the everyone else field covers any user who is neither the owner nor a member of the chosen POSIX group.
    POSIX uses three bits to describe the access returned for each field. There is a bit for read, one for write, and one for execute (for folders, this means traverse, or see contents). Thus, there are eight possible POSIX permission combinations:
    *POSIX Access Type ................... Binary Bit Representation ........... Decimal Bit Representation*
    No Access .......................................................... 000 ......................... 0
    Execute Only ...................................................... 001 ......................... 1
    Write Only .......................................................... 010 ......................... 2
    Read Only .......................................................... 100 ......................... 4
    Write & Execute (Drop Box folder)....................... 011 ......................... 3
    Read & Execute (Read-only folder) ..................... 101 ......................... 5
    Read & Write ...................................................... 110 ......................... 6
    Read, Write, and Execute (Read/write folder)...... 111 ......................... 7
    It's helpful to know these decimal representations, because they provide a quick shorthand for describing POSIX access. Typically, we use the decimal shorthand like this: (decimal bit representation of the POSIX special permissions field)(... of the POSIX owner field)(... for the group field)(... for the everyone field). Thus, a combination like owner read, write, and execute, group read & execute, and everyone else read & execute is 0755: Special permissions are 0 (000 binary), owner is 7 (111 binary - read, write, execute), group is 5 (101 - read and execute), and everyone is the same as group (101).
    *How POSIX Access is Determined for a Connecting User* In determining POSIX access to a file or folder, a user can only be "given" the access of POSIX owner, POSIX group, or POSIX everyone. The system first checks to see if the connecting user is the POSIX owner; if so, the user gets the permission bits assigned to the owner field. Otherwise, the user's primary group is compared to the POSIX group assigned to the file or folder; if they match, the user is given POSIX group access. If that fails, then the POSIX group is queried for a list of member users to see if the connecting user is a member of that group; if so, the user is given POSIX group access. If all three fail, then the user is given access assigned to everyone else.
    *How POSIX Permissions are Set for Newly-Created Files and Folders* When new files or folders are created within a parent, the following determines their POSIX permissions:
    1. The POSIX owner is the user who creates the file or folder.
    2. The POSIX group is set to the group of the folder's parent.
    3. POSIX permission bits (owner, group, everyone else) are set by the umask. The umask is 0022 by default, so default POSIX bits are 0755 (0644 for files) - owner read, write, group read, everyone read.
    If the POSIX permissions were the extent of the permissions model, then we would have to either modify the umask (on each client) or adjust the server's behavior via an Inherit Permissions scheme. The first option is insecure, because you cannot just modify the umask for a particular server's share point - it would apply system-wide on the client computer, even for local files. The Inherit Permissions via POSIX was the method used by Mac OS X Server 10.3 and earlier.
    Fortunately, you don't have to do either. That's where ACLs come in to play:
    *ACL Permission Model* Access Control lists are just what you'd expect: a list of entries that describe what a user or group can or cannot do. Unlike POSIX, you can have a virtually unlimited number of ACL entries (or ACEs). Each ACE can apply to just a single user or a whole group of users. ACLs support two modes of operation, Allow or Deny, along with 24 unique controls arranged in four categories:
    *Category ... Controls for Files Only ....... Folders Only .......................................................... Files & Folders*
    Read ............... read and execute .............. list and search ........................................... readsecurity, readattr, readextattr
    Write ............... write and append .............. delete_child, add_file, add_subdirectory .... delete, writeattr, writeextattr
    Administer ............................................................................... ...................................... chown & writesecurity
    Inherit ............ file_inherit ......................... directory_inherit, limit_inherit .................... only_inherit
    *How ACL Access is Determined for a Connecting User* Since each ACL entry can be either Allow or Deny, the system makes two "tallies" for the connecting user: one for applicable Allow ACEs and one for applicable Deny ACEs. An ACE applies to a connecting user only if the ACE is specifically for that user or if the user is a member of the group to which the ACE applies. The tallies are created by adding all applicable ACEs for each Allow/Deny category. Thus, the ACLs return two things: a list of deny controls and a list of allow controls.
    *How ACLs are Inherited to Newly-Created Files and Folders* When new files or folders are created within a parent, the following determines their ACL permissions:
    1. If the file_inherit control is part of any listed ACE, that ACE is applied to newly-created files therein.
    2. If the directory_inherit control is part of any listed ACE, that ACE is applied to newly-created folders.
    *How ACLs and POSIX Permissions Work Together* The access level returned from POSIX and the two ACL tallies are combined in the following way to determine the effective permissions:
    *Effective Permissions = (POSIX Access) + (ACL Allow tallies) - (ACL Deny tallies)*
    For each unique connecting user, the effective permissions will be calculated in the previous way.
    *Solving Your Problem* You can easily use effective permissions to your advantage to solve your problem. Simply enable ACLs on the volume that houses your troublesome share point, and add a new ACL entry for the desired workgroup, granting it all read, write, and inherit controls. This way, when users create new items in the share point, they automatically inherit that ACE. You'll also have to propagate permissions for all items that are already inside of the share point after you've added the ACE.
    Here's an easy way to do both with an ACE granting writers_group read/write/inheritance on some share point using chmod form the command-line:
    sudo chmod -R +a "writers_group allow readattr,readextattr,readsecurity,list,search,read,execute,\
    writeattr,writeextattr,delete,deletechild,add_file,addsubdirectory,write,append,\
    fileinherit,directoryinherit" /path/to/share_point
    Hope this helps!
    --Gerrit
    Message was edited by: Gerrit DeWitt

  • Manage presentation catalog and permission

    Hi all,
    I need help: in Oracle BI I can't use permission in 'Manage Presentation Catalog Groups and Users'.
    This is because I create a new dashboard (on Explorer) and a new group and user(in rpd file).
    Then I try to relate this things but it's wrong..
    And now in 'Manage Presentation Catalog Groups and Users' I coundn't add users to groups.
    Which is the file where Oracle BI save the permission?
    What I can do?
    Thanks

    this is my situation:
    !http://lh5.ggpht.com/_Mf5eEi3FM3E/SciVars21lI/AAAAAAAAA8E/Ek3cWJzju7k/s800/Errore.JPG!
    and this-one is the right one:
    !http://lh3.ggpht.com/_Mf5eEi3FM3E/SciVayubqRI/AAAAAAAAA8M/Rt90SH1G7iI/s800/NONErrore.JPG!
    It's the same in ‘Manage Presentation Catalog’ and ‘Manage Interactive Dashboard’: I couldn't modify the permission to report/dashboard..
    Internet Explorer give me this warinig:
    !http://lh3.ggpht.com/_Mf5eEi3FM3E/ScimT_XfmpI/AAAAAAAAA9E/DII0j2VzrNo/s800/Outlook.jpg!
    ..but in the file 'catalogsysmessages.xml' there's the right row:
    <WebMessage name="kmsgPermsDlgAdd"><TEXT>Nuovo</TEXT></WebMessage>
    Edited by: salhpao on Mar 24, 2009 9:24 AM

  • Export and import Sharepoint group and permissions

    We have some custom sharepoint groups and permissions created.How can i just export and import
    these group and permissions into another server.
    I do not want to restore entire site collection.
    just the groups and permissions...

    hey,
    You can find some code from Powershell here:
    http://geekswithblogs.net/bjackett/archive/2009/04/24/the-power-of-powershell-and-sharepoint-enumerating-sharepoint-permissions-and.aspx
    Or
    http://get-spscripts.com/2010/07/adding-groups-with-permission-levels-to.html
    Founder of SharePoint CookBook:
    http://www.GokanOzcifci.be
    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal

  • Grouping and Decimal characters in rtf templates.

    Hi guys and girls,
    I’m really struggling with a problem here regarding the decimal characters for the prices in my output.
    I'm using XML Publisher 5.6.3.
    My goal is to control the grouping and decimal character from my template.
    The numbers in the XML data file can either be 10.000,00 or 10,000.00. The format is handled by the users nls_numeric_characters profile option.
    The output of the template shall be based on the locale and not the data generated by Oracle Reports. For example: Reports to US customers shall show the numbers in the following format 10,000.00. Reports to our European customers shall show the numbers in this format 10.000,00.
    How can I achieve this in my templates? Can it be achieved at all?
    Thank you in advance.
    Kenneth Kristoffersen
    Edited by: Kenneth_ on May 19, 2009 1:30 AM

    Hi,
    Thank you for your reply.
    The problem is that the report is generating the output based on the users profile option nls_numeric_characters.
    I have tried to override the users profile option in the before report trigger without any luck. I can alter selects so the query gets the numbers in the right format but then I would have to go through all queryes and reports which seem a bit wrong? Especially for the standard Oracle reports.
    BR Kenneth

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

Maybe you are looking for

  • I saved a profile to my desktop then deleted it and it deleted other files which I can no longer find

    I created a profile and saved it to the desktop. (I have read since then not to do this but it's too late). I then deleted the profile and all the files. When I did this it deleted everything I had saved on my desktop. I have searched the hard drive

  • LabVIEW 5.1.1 App Builder doesn't work on WinXP or 2k?

    G'Day All, I have a client that needs some apps written in LabVIEW 5.1.1 built into exe's, but I've found that once I install the App Builder on my Windows XP and 2000 PCs, I get "dist build app image subvi is not executable" - I've tried opening the

  • HP 1510 all in one printer will not install

    I have just purchased a new 1510 all in one printer. I have installed the printer software from the CD supplied. However when I try to run the printer HP assitant comes on with run time error. I have tried to uninstall and reinstall the printer many

  • Edit Audio dialog box won't open

    I cannot get the Edit Audio dialog box open -- I've double-clicked and right-clicked the audio in the timeline, tried the menu Audio > Edit > Slide..., poked around in Settings and Preferences but cannot find anything amiss in there. I don't get any

  • How to Add new webservices  in Oracle ECM 11g

    Hi In the Documenation of Oracle ECM 11g it is mentioned WSDL Generator is not supported in it.(Actually it is used to expose IDC services as webservices). Anyone knows how to expose IDC services as webservices please let me know